You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
585 B
TypeScript
23 lines
585 B
TypeScript
import {createStackNavigator} from '@react-navigation/stack'
|
|
import BestList from './BestList'
|
|
import GymSet from './gym-set'
|
|
import ViewBest from './ViewBest'
|
|
|
|
const Stack = createStackNavigator<BestPageParams>()
|
|
export type BestPageParams = {
|
|
BestList: {}
|
|
ViewBest: {
|
|
best: GymSet
|
|
}
|
|
}
|
|
|
|
export default function BestPage() {
|
|
return (
|
|
<Stack.Navigator
|
|
screenOptions={{headerShown: false, animationEnabled: false}}>
|
|
<Stack.Screen name="BestList" component={BestList} />
|
|
<Stack.Screen name="ViewBest" component={ViewBest} />
|
|
</Stack.Navigator>
|
|
)
|
|
}
|