aksonov / aksonov/react-native-tabs

selectedStyle don't work.

Open
#53 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
727
Forks
112
PR merge metrics
No merged PRs in 30d

Description

selectedStyle don't work.
Follow is my code,i set the text color red,but it does not work,selectedIconStyle is work fine:
````
this.setState({page:el.props.name})}
selectedIconStyle={styles.selectedIconStyle}
style={{top:0,height:tabHeight}}
>





````
````
selectedStyle:{
color:'red',
fontSize:12
},
selectedIconStyle:{
borderBottomWidth:2,
borderBottomColor:'red',
color:'red',
height:tabHeight,
// backgroundColor:'rgba(135,205,250,0.5)'
},
````
````
"react": "16.0.0-alpha.12",
"react-native": "0.45.1",
"react-native-tabs": "^1.0.9",
````

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.