Massive/WeightPage.tsx

26 lines
634 B
TypeScript
Raw Permalink Normal View History

2023-10-19 05:28:56 +00:00
import { createStackNavigator } from "@react-navigation/stack";
2023-10-20 22:57:31 +00:00
import EditWeight from "./EditWeight";
import ViewWeightGraph from "./ViewWeightGraph";
import Weight from "./weight";
import WeightList from "./WeightList";
2023-10-19 05:28:56 +00:00
export type WeightPageParams = {
Weights: {};
EditWeight: {
2023-10-20 22:57:31 +00:00
weight: Weight;
2023-10-19 05:28:56 +00:00
};
2023-10-20 22:57:31 +00:00
ViewWeightGraph: {};
2023-10-19 05:28:56 +00:00
};
const Stack = createStackNavigator<WeightPageParams>();
export default function WeightPage() {
return (
<Stack.Navigator
screenOptions={{ headerShown: false, animationEnabled: false }}
>
2023-10-20 22:57:31 +00:00
<Stack.Screen name="Weights" component={WeightList} />
2023-10-19 05:28:56 +00:00
</Stack.Navigator>
);
}