about summary refs log tree commit diff
path: root/src/view/routes/types.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-07-20 15:00:37 -0500
committerPaul Frazee <pfrazee@gmail.com>2022-07-20 15:00:37 -0500
commitc712cbbfe27cca5db5d87abd8d7fd3b749492fcc (patch)
tree6ba411c9d9ab7a63b4578071752fdbd9c6a9cec3 /src/view/routes/types.ts
parent19c694bc601c2b5d494d635134ffe9ca3fdc7774 (diff)
downloadvoidsky-c712cbbfe27cca5db5d87abd8d7fd3b749492fcc.tar.zst
Add WIP post-thread view
Diffstat (limited to 'src/view/routes/types.ts')
-rw-r--r--src/view/routes/types.ts3
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