Releases: mmazzarolo/react-native-modal-datetime-picker
Releases · mmazzarolo/react-native-modal-datetime-picker
v8.0.3
v8.0.2
- fix: Use
getDate()
instead ofgetDay()
on Android to retrieve the correct date
v8.0.1
v8.0.0
8.0.0 (2019-10-17)
Features
- Moved to @react-native-community pickers (e3e6da6)
- Simplified the API for both pickers
IOS:
- Moved out of
react-native-modal
Deprecated props:
A few prop names are going to be changed (the old name will still work though).
- titleIOS
→ headerTextIOS
- customTitleContainerIOS
→ customHeaderIOS
- onHideAfterConfirm
→ onHide
- customDatePickerIOS
→ customPickerIOS
BREAKING CHANGES
Breaking changes:
The following props are not supported anymore:
cancelTextStyle
→ Please usecustomCancelButtonIOS
to override the component insteadconfirmTextStyle
→ Please usecustomConfirmButtonIOS
to override the component insteaddatePickerModeAndroid
→ Please use thedisplay
prop of@react-native-community/react-native-datetimepicker
insteaddismissOnBackdropPressIOS
→ This is now the default behaviour on iOShideTitleContainerIOS
→ Please setcustomHeaderIOS
tonull
insteadneverDisableConfirmIOS
→ This behaviour was causing a few issues with the new pickerpickerRefCb
→ Not supported by the new pickerreactNativeModalPropsIOS
→react-native-modal
is not being used anymore