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

Function push

example/src/navigation-examples/basic-stack.tsx:16–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 children?: React.ReactNode;
15}) {
16 function push() {
17 navigation.stack.push(
18 <Stack.Screen>
19 <MyScreen title="Pushed screen">
20 <Button title="Pop screen" onPress={pop} />
21 </MyScreen>
22 </Stack.Screen>
23 );
24 }
25
26 function pop() {
27 navigation.stack.pop();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected