({
route,
navigation,
}: MaterialBottomTabScreenProps<ParamListBase>)
| 12 | |
| 13 | it('renders a material bottom tab navigator with screens', async () => { |
| 14 | const Test = ({ |
| 15 | route, |
| 16 | navigation, |
| 17 | }: MaterialBottomTabScreenProps<ParamListBase>) => ( |
| 18 | <View> |
| 19 | <Text>Screen {route.name}</Text> |
| 20 | <Button onPress={() => navigation.navigate('A')} title="Go to A" /> |
| 21 | <Button onPress={() => navigation.navigate('B')} title="Go to B" /> |
| 22 | </View> |
| 23 | ); |
| 24 | |
| 25 | const Tab = createMaterialBottomTabNavigator(); |
| 26 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…