diff --git a/datepicker.js b/datepicker.js index ce4f84917d..ac6cacde29 100644 --- a/datepicker.js +++ b/datepicker.js @@ -465,7 +465,7 @@ DatePicker.defaultProps = { DatePicker.propTypes = { mode: PropTypes.oneOf(['date', 'datetime', 'time']), - androidMode: PropTypes.oneOf(['calendar', 'spinner', 'default']), + androidMode: PropTypes.oneOf(['clock', 'calendar', 'spinner', 'default']), date: PropTypes.oneOfType([PropTypes.string, PropTypes.instanceOf(Date), PropTypes.object]), format: PropTypes.string, minDate: PropTypes.oneOfType([PropTypes.string, PropTypes.instanceOf(Date)]), diff --git a/package.json b/package.json index f2df1d4aa6..4bba58b92e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-datepicker", - "version": "1.7.0", + "version": "1.7.1", "description": "React Native DatePicker component for both Android and iOS, useing DatePickerAndroid, TimePickerAndroid and DatePickerIOS", "main": "datepicker.js", "scripts": {