Skip to content

Commit d399963

Browse files
committed
fix incorrectly documented type
1 parent ee26c41 commit d399963

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ static navigationOptions = {
3737
| IconComponent?: React.ComponentType<\*> | component to use for the icons | |
3838
| iconSize?: number | iconSize | |
3939
| color?: string | color of icons and buttons | |
40-
| OverflowIcon?: React.ComponentType<\*> | React element for the overflow icon | you need to provide this only if you need overflow icon |
41-
| overflowButtonWrapperStyle?: Object | optional styles for overflow button | there are some default styles set, as seen in `OverflowButton.js` |
40+
| OverflowIcon?: React.Element<\*> | React element for the overflow icon | you need to provide this only if you need overflow icon |
41+
| overflowButtonWrapperStyle?: StyleObj | optional styles for overflow button | there are some default styles set, as seen in `OverflowButton.js` |
4242
| cancelButtonLabel?: string | ios only, the cancel button label for overflow menu actions | 'Cancel' by default |
4343

4444
`HeaderButtons.Item` accepts:

0 commit comments

Comments
 (0)