aksonov / aksonov/react-native-tabs
Does not work for falsey values of name
オープン
- 主要言語
- JavaScript
- スター
- 727
- フォーク
- 112
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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]}
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。