import React from "react";
import CalendarPage from "@/components/pages/calendar/CalendarPage";
import { View } from "react-native-ui-lib";
import TabletCalendarPage from "@/components/pages/(tablet_pages)/calendar/TabletCalendarPage";
import { DeviceType } from "expo-device";
import * as Device from "expo-device";

export default function Screen() {
  return (
    <View style={{ backgroundColor: "white" }}>
      {Device.deviceType === DeviceType.TABLET ? (
        <TabletCalendarPage />
      ) : (
        <CalendarPage />
      )}
    </View>
  );
}
