()
| 62 | } |
| 63 | |
| 64 | function HomeScreen() { |
| 65 | const navigation = useNavigation<NativeStackNavigationProp<Routes, 'Home'>>(); |
| 66 | return ( |
| 67 | <View style={styles.home}> |
| 68 | <Button title="Open sheet" onPress={() => navigation.navigate('Sheet')} /> |
| 69 | <Button |
| 70 | title="Open sheet with a SafeAreaProvider" |
| 71 | onPress={() => navigation.navigate('SheetWithProvider')} |
| 72 | /> |
| 73 | </View> |
| 74 | ); |
| 75 | } |
| 76 | |
| 77 | function SheetScreen({ title = 'SafeAreaView in a form sheet' }) { |
| 78 | const [busy, setBusy] = React.useState(false); |
nothing calls this directly
no outgoing calls
no test coverage detected