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

Function Screen2

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

Source from the content-addressed store, hash-verified

18)
19
20const Screen2 = ({ navigation, route }) => (
21 <View style={styles.screen}>
22 <Text style={styles.title}>Screen 2</Text>
23 <Button
24 title="Go back"
25 onPress={() => {
26 navigation.pop()
27 }}
28 />
29 </View>
30)
31
32export default function App() {
33 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected