React Native platform-independent tabs. Could be used for bottom tab bars as well as sectioned views (with tab buttons)
React Native platform-independent tabs. Could be used for bottom tab bars as well as sectioned views (with tab buttons)
React Native platform-independent tabs. Could be used for bottom tab bars as well as sectioned views (with tab buttons)
Component just iterates over all its children and makes them touchable ('name' is only required attribute of each child). selectedStyle property represents style should be applied for selected tabs. This property could be set for all tabs or for individual tab. selectedIconStyle represents style applied for selected tab. The same, onSelect handler could be set globally for all tabs or/and for individual tab. You can lock tab buttons (require user to use long press to actuate the button) by passing prop {locked: true}.
Example makes selected icon color red and change the state of example view. To switch to other views you may use react-native-router-flux component or own navigation controller
…No open issues yet, or sync has not completed.