import { createDrawerNavigator } from "@react-navigation/drawer"; import { StackScreenProps } from "@react-navigation/stack"; import { IconButton, useTheme } from "react-native-paper"; import { DrawerParams } from "./drawer-params"; 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 TimerProgress from "./TimerProgress"; import WeightList from "./WeightList"; const Drawer = createDrawerNavigator(); interface AppDrawerParams { startup: string; } export default function AppDrawer({ route, }: StackScreenProps<{ startup: AppDrawerParams }>) { const { dark } = useTheme(); return ( <> }} /> }} /> }} /> , }} /> }} /> }} /> , }} /> }} /> ); }