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 usecustomCancelButtonIOSto override the component insteadconfirmTextStyle→ Please usecustomConfirmButtonIOSto override the component insteaddatePickerModeAndroid→ Please use thedisplayprop of@react-native-community/react-native-datetimepickerinsteaddismissOnBackdropPressIOS→ This is now the default behaviour on iOShideTitleContainerIOS→ Please setcustomHeaderIOStonullinsteadneverDisableConfirmIOS→ This behaviour was causing a few issues with the new pickerpickerRefCb→ Not supported by the new pickerreactNativeModalPropsIOS→react-native-modalis not being used anymore