Skip to content

Commit 89ead99

Browse files
committed
update readme
1 parent df4e835 commit 89ead99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static navigationOptions = {
4545

4646
| prop and type | description | note |
4747
| ------------------------- | -------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
48-
| onPress: () => void | function to call on press | |
48+
| onPress: ?() => void | function to call on press | if not defined, the button won't react to touches |
4949
| title: string | title for the button, required | |
5050
| show: "always" or "never" | string specifying if the icon should be shown or hidden in overflow menu | "always" by default |
5151
| IconElement?: React.Node | optional React element to show as icon. This will override the `IconComponent` if you specified it | if neither `IconComponent` nor this is defined, will render text with the `title` |

0 commit comments

Comments
 (0)