diff options
Diffstat (limited to 'src/screens/Search.tsx')
-rw-r--r-- | src/screens/Search.tsx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/screens/Search.tsx b/src/screens/Search.tsx new file mode 100644 index 000000000..85943190a --- /dev/null +++ b/src/screens/Search.tsx @@ -0,0 +1,19 @@ +import React from 'react' +import {SafeAreaView, ScrollView, Text, Button, View} from 'react-native' +import type {PrimaryTabScreenProps} from '../routes/types' + +export const Search = ({navigation}: PrimaryTabScreenProps<'Search'>) => { + 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> + ) +} |