()
| 3 | import { Button, View, TextInput, Text } from "react-native"; |
| 4 | |
| 5 | export function HeaderExample() { |
| 6 | return ( |
| 7 | <View> |
| 8 | <Button |
| 9 | title="Push screen with header" |
| 10 | onPress={() => navigation.stack.push(<MyScreenWithHeader />)} |
| 11 | /> |
| 12 | </View> |
| 13 | ); |
| 14 | } |
| 15 | |
| 16 | function MyScreenWithHeader() { |
| 17 | let [title, setTitle] = React.useState(""); |
nothing calls this directly
no outgoing calls
no test coverage detected