about summary refs log tree commit diff
path: root/src/screens/Profile.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-06-09 16:32:03 -0500
committerPaul Frazee <pfrazee@gmail.com>2022-06-09 16:32:03 -0500
commitfc3b2952bb59b80665ebb53ffb3377f647ccdbd3 (patch)
tree37477c0803459ff55f0e26ae27c8231305e6856a /src/screens/Profile.tsx
parentd6942bffab68ce80d5cb26b42710dd9276f62ded (diff)
downloadvoidsky-fc3b2952bb59b80665ebb53ffb3377f647ccdbd3.tar.zst
Add routes and core views
Diffstat (limited to 'src/screens/Profile.tsx')
-rw-r--r--src/screens/Profile.tsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/screens/Profile.tsx b/src/screens/Profile.tsx
new file mode 100644
index 000000000..ffd30a499
--- /dev/null
+++ b/src/screens/Profile.tsx
@@ -0,0 +1,7 @@
+import React from 'react'
+import {Text} from 'react-native'
+import type {RootStackScreenProps} from '../routes/types'
+
+export const Profile = ({route}: RootStackScreenProps<'Profile'>) => {
+  return <Text>This is {route.params.name}'s profile</Text>
+}