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/Notifications.tsx | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 src/screens/Notifications.tsx

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

diff --git a/src/screens/Notifications.tsx b/src/screens/Notifications.tsx
new file mode 100644
index 000000000..8ffb5bb87
--- /dev/null
+++ b/src/screens/Notifications.tsx
@@ -0,0 +1,21 @@
+import React from 'react'
+import {SafeAreaView, ScrollView, Text, Button, View} from 'react-native'
+import type {PrimaryTabScreenProps} from '../routes/types'
+
+export const Notifications = ({
+  navigation,
+}: PrimaryTabScreenProps<'Notifications'>) => {
+  return (
+    <SafeAreaView>
+      <ScrollView contentInsetAdjustmentBehavior="automatic">
+        <View>
+          <Text>Hello world</Text>
+          <Button
+            title="Go to Jane's profile"
+            onPress={() => navigation.navigate('Profile', {name: 'Jane'})}
+          />
+        </View>
+      </ScrollView>
+    </SafeAreaView>
+  )
+}
-- 
cgit 1.4.1

