diff options
Diffstat (limited to 'src/view/routes/types.ts')
-rw-r--r-- | src/view/routes/types.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/view/routes/types.ts b/src/view/routes/types.ts index d92594bbe..bca6f196a 100644 --- a/src/view/routes/types.ts +++ b/src/view/routes/types.ts @@ -6,6 +6,7 @@ export type RootTabsParamList = { Notifications: undefined Menu: undefined Profile: {name: string} + PostThread: {name: string; recordKey: string} Login: undefined Signup: undefined NotFound: undefined @@ -13,6 +14,8 @@ export type RootTabsParamList = { export type RootTabsScreenProps<T extends keyof RootTabsParamList> = StackScreenProps<RootTabsParamList, T> +export type OnNavigateContent = (screen: string, params: Record<string, string>): void + /* NOTE this is leftover from a nested nav implementation |