mirror of
https://github.com/status-im/react-navigation-stack.git
synced 2025-01-12 23:34:08 +00:00
Merge pull request #1 from dylancompanjen/master
Updated HeaderTitle fontWeight to match current iOS11&12 style
This commit is contained in:
commit
d6b1f5c967
@ -238,7 +238,7 @@ exports[`Nested navigators renders succesfully as direct child 1`] = `
|
||||
Object {
|
||||
"color": "rgba(0, 0, 0, .9)",
|
||||
"fontSize": 17,
|
||||
"fontWeight": "700",
|
||||
"fontWeight": "600",
|
||||
"marginHorizontal": 16,
|
||||
"textAlign": "center",
|
||||
}
|
||||
@ -348,7 +348,7 @@ exports[`Nested navigators renders succesfully as direct child 1`] = `
|
||||
Object {
|
||||
"color": "rgba(0, 0, 0, .9)",
|
||||
"fontSize": 17,
|
||||
"fontWeight": "700",
|
||||
"fontWeight": "600",
|
||||
"marginHorizontal": 16,
|
||||
"textAlign": "center",
|
||||
}
|
||||
|
@ -168,7 +168,7 @@ exports[`StackNavigator applies correct values when headerRight is present 1`] =
|
||||
Object {
|
||||
"color": "rgba(0, 0, 0, .9)",
|
||||
"fontSize": 17,
|
||||
"fontWeight": "700",
|
||||
"fontWeight": "600",
|
||||
"marginHorizontal": 16,
|
||||
"textAlign": "center",
|
||||
}
|
||||
@ -372,7 +372,7 @@ exports[`StackNavigator renders successfully 1`] = `
|
||||
Object {
|
||||
"color": "rgba(0, 0, 0, .9)",
|
||||
"fontSize": 17,
|
||||
"fontWeight": "700",
|
||||
"fontWeight": "600",
|
||||
"marginHorizontal": 16,
|
||||
"textAlign": "center",
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ const HeaderTitle = ({ style, ...rest }) => (
|
||||
const styles = StyleSheet.create({
|
||||
title: {
|
||||
fontSize: Platform.OS === 'ios' ? 17 : 20,
|
||||
fontWeight: Platform.OS === 'ios' ? '700' : '500',
|
||||
fontWeight: Platform.OS === 'ios' ? '600' : '500',
|
||||
color: 'rgba(0, 0, 0, .9)',
|
||||
marginHorizontal: 16,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user