Skip to content

Commit 33b0902

Browse files
committed
update readme / 5.2.0
1 parent debfdd6 commit 33b0902

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
### v5.2.0
2+
3+
##### New
4+
5+
- Added `onOpen` and `onClose` callbacks (iOS only)
6+
17
### v5.1.1
28

39
##### New

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ For either platform, you can alternatively pass down a child element that will b
5050
| 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 |
5151
| onUpArrow / onDownArrow | function | Presence enables the corresponding arrow<br>- Closes the picker<br>- Calls the callback provided | N | iOS |
5252
| onDonePress | function | Callback when the 'Done' button is pressed | N | iOS |
53+
| onOpen / onClose | function | Callback triggered right before the opening or closing of the picker | N | iOS |
5354
| modalProps | object | Additional props to pass to the Modal (some props are used in core functionality so use this carefully) | N | iOS |
5455
| textInputProps | object | Additional props to pass to the TextInput (some props are used in core functionality so use this carefully) | N | iOS |
5556

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-picker-select",
3-
"version": "5.1.1",
3+
"version": "5.2.0",
44
"description": "A Picker component for React Native which emulates the native <select> interfaces for each platform",
55
"license": "MIT",
66
"author": "Michael Lefkowitz <[email protected]>",

0 commit comments

Comments
 (0)