aksonov / aksonov/react-native-tabs
Does not work for falsey values of name
Aperta
- Lingua principale
- JavaScript
- Stelle
- 727
- Fork
- 112
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Since the selected value is calculated using `(el.props.name || el.key)` falsey values of `el.props.name` cause the current tab to not be identified properly e.g.
```jsx
{ this.switchTab(el.props.name) }}
iconStyle={styles.tab}
selectedIconStyle={styles.selectedTab}
selectedStyle={styles.selectedTabText}
>
Players
Log
{this.props.children[this.state.currentTab]}
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.