MCPcopy Create free account
hub / github.com/ajsmth/rn-tools / push

Function push

example/src/navigation-examples/basic-tabs.tsx:62–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 bg?: string;
61}) {
62 function push() {
63 navigation.stack.push(
64 <Stack.Screen>
65 <MyScreen title="Pushed screen" bg={bg}>
66 <Button title="Pop screen" onPress={pop} />
67 </MyScreen>
68 </Stack.Screen>,
69 );
70 }
71
72 function pop() {
73 navigation.stack.pop();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected