diff options
Diffstat (limited to 'src/view/routes/types.ts')
-rw-r--r-- | src/view/routes/types.ts | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/view/routes/types.ts b/src/view/routes/types.ts index bca6f196a..0b4bbc5d7 100644 --- a/src/view/routes/types.ts +++ b/src/view/routes/types.ts @@ -1,10 +1,10 @@ import type {StackScreenProps} from '@react-navigation/stack' export type RootTabsParamList = { - Home: undefined - Search: undefined - Notifications: undefined - Menu: undefined + HomeTab: undefined + SearchTab: undefined + NotificationsTab: undefined + MenuTab: undefined Profile: {name: string} PostThread: {name: string; recordKey: string} Login: undefined @@ -14,7 +14,10 @@ export type RootTabsParamList = { export type RootTabsScreenProps<T extends keyof RootTabsParamList> = StackScreenProps<RootTabsParamList, T> -export type OnNavigateContent = (screen: string, params: Record<string, string>): void +export type OnNavigateContent = ( + screen: string, + params: Record<string, string>, +) => void /* NOTE |