aksonov / aksonov/react-native-tabs
Doesn't work with Navigator
- Dominant language
- JavaScript
- Stars
- 727
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.