aksonov / aksonov/react-native-router-flux

TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[31], "react-navigation-tabs").createMaterialTopTabNavigator')

Aperta
#3,815 4 commenti 3 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
8.9k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Version
Tell us which versions you are using:

I am using yarn install my package.json

- react-native-router-flux 4.3.1
- react v17.0.2
- react-native v0.67.3

At first, I wrote TabBar by myself through React-native router-Flux, and then I found this problem:
TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[31], "react-navigation-tabs").createMaterialTopTabNavigator')

Later, when I wrote TabBar according to the official Demo, this problem still appeared.

const Routers = () => (





{
console.log('Back to initial and also print this');
}}
showLabel={false}
tabBarStyle={styles.tabBarStyle}
activeBackgroundColor="white"
inactiveBackgroundColor="rgba(255, 0, 0, 0.5)">

alert('Right button')}
rightTitle="Right"
/>




Right}
/>
alert('onBack button!')}
hideDrawerButton
backTitle="Back!"
panHandlers={null}
/>






Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.