MCPcopy Index your code
hub / github.com/react-navigation/react-navigation / render

Method render

example/src/HeaderPreset.tsx:86–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 };
85
86 render() {
87 const { navigation } = this.props;
88 const { push, pop } = navigation;
89
90 return (
91 <SafeAreaView style={{ paddingTop: 30 }}>
92 <Button onPress={() => push('Other')} title="Push another screen" />
93 <Button onPress={() => pop()} title="Pop" />
94 <Button onPress={() => navigation.goBack(null)} title="Go back" />
95 <StatusBar barStyle="default" />
96 </SafeAreaView>
97 );
98 }
99}
100
101const StackWithHeaderPreset = createStackNavigator(

Callers

nothing calls this directly

Calls 2

pushFunction · 0.50
popFunction · 0.50

Tested by

no test coverage detected