aksonov / aksonov/react-native-tabs

selectedStyle don't work.

Offen
#53 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
727
Forks
112
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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",
````

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.