Brandon Presley
1603496424
I was considering adding weight tracking, so then this graph page would include body weight graphs. Meaning it's not really recording the "best" of anything. It currently only shows the best on the list page anyway.
24 lines
615 B
TypeScript
24 lines
615 B
TypeScript
import { createStackNavigator } from '@react-navigation/stack'
|
|
import GraphsList from './GraphsList'
|
|
import GymSet from './gym-set'
|
|
import ViewGraph from './ViewGraph'
|
|
|
|
const Stack = createStackNavigator<GraphsPageParams>()
|
|
export type GraphsPageParams = {
|
|
GraphsList: {}
|
|
ViewGraph: {
|
|
best: GymSet
|
|
}
|
|
}
|
|
|
|
export default function GraphsPage() {
|
|
return (
|
|
<Stack.Navigator
|
|
screenOptions={{ headerShown: false, animationEnabled: false }}
|
|
>
|
|
<Stack.Screen name='GraphsList' component={GraphsList} />
|
|
<Stack.Screen name='ViewGraph' component={ViewGraph} />
|
|
</Stack.Navigator>
|
|
)
|
|
}
|