diff options
Diffstat (limited to 'src/screens/Notifications.tsx')
-rw-r--r-- | src/screens/Notifications.tsx | 21 |
1 files changed, 21 insertions, 0 deletions
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> + ) +} |