Skip to content

Commit

Permalink
update readme / 5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lfkwtz committed Dec 20, 2018
1 parent debfdd6 commit 33b0902
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### v5.2.0

##### New

- Added `onOpen` and `onClose` callbacks (iOS only)

### v5.1.1

##### New
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ For either platform, you can alternatively pass down a child element that will b
| hideDoneBar | boolean | Hides the bar with tabbing arrows and Done link to exit the modal. While this is typical on `select` elements on the web, the [interface guidelines](https://developer.apple.com/ios/human-interface-guidelines/controls/pickers/) does not include it. | N | iOS |
| onUpArrow / onDownArrow | function | Presence enables the corresponding arrow<br>- Closes the picker<br>- Calls the callback provided | N | iOS |
| onDonePress | function | Callback when the 'Done' button is pressed | N | iOS |
| onOpen / onClose | function | Callback triggered right before the opening or closing of the picker | N | iOS |
| modalProps | object | Additional props to pass to the Modal (some props are used in core functionality so use this carefully) | N | iOS |
| textInputProps | object | Additional props to pass to the TextInput (some props are used in core functionality so use this carefully) | N | iOS |

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-picker-select",
"version": "5.1.1",
"version": "5.2.0",
"description": "A Picker component for React Native which emulates the native <select> interfaces for each platform",
"license": "MIT",
"author": "Michael Lefkowitz <lefkowitz.michael@gmail.com>",
Expand Down

0 comments on commit 33b0902

Please sign in to comment.