MCPcopy Create free account
hub / github.com/dabbott/react-native-express / Screen1

Function Screen1

examples/files/navigation/example.js:8–18  ·  view source on GitHub ↗
({ navigation, route })

Source from the content-addressed store, hash-verified

6const Root = createStackNavigator()
7
8const Screen1 = ({ navigation, route }) => (
9 <View style={styles.screen}>
10 <Text style={styles.title}>Screen 1</Text>
11 <Button
12 title="Go to Screen 2"
13 onPress={() => {
14 navigation.push('Screen2')
15 }}
16 />
17 </View>
18)
19
20const Screen2 = ({ navigation, route }) => (
21 <View style={styles.screen}>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected