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
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,7 @@ You can check [index.js](https://github.com/xgfe/react-native-datepicker/blob/ma
76
76
| customStyles | - |`number`| The hook of customize datepicker style, same as the native style. `dateTouchBody`, `dateInput`...|
77
77
| showIcon | true |`boolean`| Controller whether or not show the icon |
78
78
| disabled | false |`boolean`| Controller whether or not disable the picker |
79
+
| is24Hour | - |`boolean`| Set the TimePicker is24Hour flag. The default value depend on `format`. Only work in Android |
79
80
| placeholder | '' |`string`| The placeholder show when this.props.date is falsy |
80
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. |
81
82
| 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