You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -45,21 +45,21 @@ static navigationOptions = {
45
45
| left: boolean | whether the `HeaderButtons` are on the left from header title | false by default |
46
46
| HeaderButtonComponent: React.ComponentType<\*> | component that renders the buttons | Typically, you'll want to provide a component that wraps `HeaderButton` provided by this package, as seen in the [quick example](#quick-example). However, you're free to use your own component (see `HeaderButton` for reference). |
47
47
| OverflowIcon?: React.Element<\*> | React element for the overflow icon | you need to provide this only if you need an overflow icon |
48
-
| overflowButtonWrapperStyle?: StyleObj | optional styles for overflow button | there are some default styles set, as seen in `OverflowButton.js`|
48
+
| overflowButtonWrapperStyle?: ViewStyleProp| optional styles for overflow button | there are some default styles set, as seen in `OverflowButton.js`|
49
49
| onOverflowMenuPress?: ({ hiddenButtons: Array<React.Element<\*>>, overflowButtonRef: ?View }) => any | function that is called when overflow menu is pressed. | this will override the default handler |
| onPress: ?() => any | function to call on press | if this is a falsy value, the button won't react to touches |
56
-
| title: string | title for the button, required ||
57
-
| show: "always" or "never" | string specifying if the icon should be shown or hidden in overflow menu | "always" by default |
58
-
| ButtonElement?: React.Node | optional React element to show as button. Use this for completely custom buttons. | if neither `IconComponent` nor this is defined, will render text with the `title`|
59
-
| iconName?: string | icon name, used together with the `IconComponent` prop ||
60
-
| buttonStyle?: StyleObj| style to apply to the button | applies to both icon and text |
61
-
| buttonWrapperStyle?: StyleObj| style to apply to the touchable element that wraps the button ||
62
-
| testID?: string | ID to locate the view in e2e tests | testID of the overflow button is exported under `OVERFLOW_BUTTON_TEST_ID`|
| onPress: ?() => any | function to call on press | if this is a falsy value, the button won't react to touches |
56
+
| title: string | title for the button, required ||
57
+
| show: "always" or "never" | string specifying if the icon should be shown or hidden in overflow menu | "always" by default |
58
+
| ButtonElement?: React.Node | optional React element to show as button. Use this for completely custom buttons. | if neither `IconComponent` nor this is defined, will render text with the `title`|
59
+
| iconName?: string | icon name, used together with the `IconComponent` prop ||
60
+
| buttonStyle?: ViewStyleProp| style to apply to the button | applies to both icon and text |
61
+
| buttonWrapperStyle?: ViewStyleProp| style to apply to the touchable element that wraps the button ||
62
+
| testID?: string | ID to locate the view in e2e tests | testID of the overflow button is exported under `OVERFLOW_BUTTON_TEST_ID`|
0 commit comments