import { createDrawerNavigator } from "@react-navigation/drawer"; import { StackScreenProps } from "@react-navigation/stack"; import { IconButton } from "react-native-paper"; import ExerciseList from "./ExerciseList"; import GraphsList from "./GraphsList"; import InsightsPage from "./InsightsPage"; import PlanList from "./PlanList"; import SetList from "./SetList"; import SettingsPage from "./SettingsPage"; import TimerPage from "./TimerPage"; import WeightList from "./WeightList"; import { DrawerParams } from "./drawer-param-list"; import useDark from "./use-dark"; import TimerProgress from "./TimerProgress"; const Drawer = createDrawerNavigator(); interface AppDrawerParams { startup: string; } export default function AppDrawer({ route, }: StackScreenProps<{ startup: AppDrawerParams }>) { const dark = useDark(); return ( <> }} /> }} /> }} /> , }} /> }} /> }} /> , }} /> }} /> ); }