mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-26 13:35:32 +08:00
Possibility to overwrite label's style if defined as string. (#731)
* Added option to overwrite label style for only if label is as string defined in navigationOptions in DrawerNavigation. * update doc for labelStyle prop * change title to label
This commit is contained in:
committed by
Satyajit Sahoo
parent
84d284d591
commit
3cee5c30fa
@@ -137,6 +137,7 @@ const styles = StyleSheet.create({
|
||||
- `inactiveTintColor` - label and icon color of the inactive label
|
||||
- `inactiveBackgroundColor` - background color of the inactive label
|
||||
- `style` - style object for the content section
|
||||
- `labelStyle` - style object to overwrite `Text` style inside content section, when your label is a string
|
||||
|
||||
#### Example:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user