({ navigation, route })
| 18 | ) |
| 19 | |
| 20 | const 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 | |
| 32 | export default function App() { |
| 33 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected