From fc3b2952bb59b80665ebb53ffb3377f647ccdbd3 Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Thu, 9 Jun 2022 16:32:03 -0500
Subject: Add routes and core views

---
 src/screens/Profile.tsx | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 src/screens/Profile.tsx

(limited to 'src/screens/Profile.tsx')

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>
+}
-- 
cgit 1.4.1

