react-native-tab-xg
v0.0.1
Published
react native tab component for both Android and IOS, useing pure JavaScript
Downloads
447
Maintainers
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
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) |