DatePickerIOS

DatePickerIOS

Use DatePickerIOS to render a date/time picker (selector) on iOS. This is a controlled component, so you must hook in to the onDateChange callback and update the date prop in order for the component to update, otherwise the user's change will be reverted immediately to reflect props.date as the source of truth.

Props

ViewPropTypes props...

date?: PropTypes.instanceOf(Date).isRequired

The currently selected date.

maximumDate?: PropTypes.instanceOf(Date)

Maximum date.

Restricts the range of possible date/time values.

minimumDate?: Pro