move onboarding to screens
This commit is contained in:
parent
84e065667a
commit
edfd326069
11 changed files with 149 additions and 107 deletions
|
@ -1,5 +1,6 @@
|
|||
import {NavigationState, PartialState} from '@react-navigation/native'
|
||||
import type {NativeStackNavigationProp} from '@react-navigation/native-stack'
|
||||
import {OnboardingScreenSteps} from 'state/models/discovery/onboarding'
|
||||
|
||||
export type {NativeStackScreenProps} from '@react-navigation/native-stack'
|
||||
|
||||
|
@ -29,6 +30,10 @@ export type CommonNavigatorParams = {
|
|||
CopyrightPolicy: undefined
|
||||
AppPasswords: undefined
|
||||
SavedFeeds: undefined
|
||||
} & OnboardingScreenParams
|
||||
|
||||
export type OnboardingScreenParams = {
|
||||
[K in keyof typeof OnboardingScreenSteps]: undefined
|
||||
}
|
||||
|
||||
export type BottomTabNavigatorParams = CommonNavigatorParams & {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue