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
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,8 @@ You can check [index.js](https://github.com/xgfe/react-native-datepicker/blob/ma
79
79
| is24Hour | - |`boolean`| Set the TimePicker is24Hour flag. The default value depend on `format`. Only work in Android |
80
80
| placeholder | '' |`string`| The placeholder show when this.props.date is falsy |
81
81
| onDateChange | - |`function`| This is called when the user confirm the picked date or time in the UI. The first and only argument is a date or time string representing the new date and time formatted by [moment.js](http://momentjs.com/) with the given format property. |
82
+
| onOpenModal | - |`function`| This is called when the DatePicker Modal open. |
83
+
| onCloseModal | - |`function`| This is called when the DatePicker Modal close |
82
84
| modalOnResponderTerminationRequest | - |`function`| Set the callback for React Native's [Gesture Responder System](https://facebook.github.io/react-native/docs/gesture-responder-system.html#responder-lifecycle)'s call to `onResponderTerminationRequest`. By default this will reject a termination request, but can be overidden in case the View under the Modal is implementing custom gesture responders, and you wish for those to be overidden in certain cases. |
0 commit comments