react-native-tab-xg

react native tab component for both Android and IOS, useing pure JavaScript

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-native-tab-xg
15230.0.17 years ago7 years agoMinified + gzip package size for react-native-tab-xg in KB

Readme

The react-native-tab-xg

  • react native Tab component for both Android and iOS based on pure JavaScript

Main

  • This component provide a Tab function for you with which you can handle your own routers

Properties

link image

Properties

| Prop | Default | Type | Description | | :------------ |:---------------:| :---------------:| :-----| | itemList | - | Array | Specify the content of the tab | | active | - | string | Specify the actived tab |

inSide itemList We Provide some keys for you to custome the content

| key | Default | Type | Description | | :------------ |:---------------:| :---------------:| :-----| | key | - | string | to compare with the active key | | title | - | string | the text of the tab | | icon | - | node | the icon of your tab(for more info you can see the example) |