2022-10-31 04:22:08 +00:00
|
|
|
import {createStackNavigator} from '@react-navigation/stack'
|
|
|
|
import BestList from './BestList'
|
|
|
|
import GymSet from './gym-set'
|
|
|
|
import ViewBest from './ViewBest'
|
2022-07-03 01:50:01 +00:00
|
|
|
|
2022-10-31 04:22:08 +00:00
|
|
|
const Stack = createStackNavigator<BestPageParams>()
|
2022-07-11 01:00:17 +00:00
|
|
|
export type BestPageParams = {
|
2022-10-31 04:22:08 +00:00
|
|
|
BestList: {}
|
2022-07-11 01:00:17 +00:00
|
|
|
ViewBest: {
|
2022-10-31 04:22:08 +00:00
|
|
|
best: GymSet
|
|
|
|
}
|
|
|
|
}
|
2022-07-04 04:03:48 +00:00
|
|
|
|
2022-07-11 01:00:17 +00:00
|
|
|
export default function BestPage() {
|
2022-07-03 01:50:01 +00:00
|
|
|
return (
|
2022-07-11 01:00:17 +00:00
|
|
|
<Stack.Navigator
|
|
|
|
screenOptions={{headerShown: false, animationEnabled: false}}>
|
|
|
|
<Stack.Screen name="BestList" component={BestList} />
|
2022-10-23 06:13:58 +00:00
|
|
|
<Stack.Screen name="ViewBest" component={ViewBest} />
|
2022-07-11 01:00:17 +00:00
|
|
|
</Stack.Navigator>
|
2022-10-31 04:22:08 +00:00
|
|
|
)
|
2022-07-03 01:50:01 +00:00
|
|
|
}
|