aksonov / aksonov/react-native-tabs

Doesn't work with Navigator

Aperta
#52 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
727
Fork
112
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

It seems not to work with navigator as tab item.

```
getTabView() {
switch (this.state.page) {
case 'Home':
return
break;
case 'Drafts':
return
break;
case 'Tasks':
return
break;
}
}

render() {
return (

{this.getTabView()}



Home



Drafts



Tasks



);
}
```

In this if I change my view as any other view instead of HomeNavigator, it works perfectly. But not with a navigator component which is original navigator. However the same HomeNavigator works well if not inside tabs.

Can anyone help please?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.