fix(date-picker): fix props(decade) problem for 1.x (#3536)

Co-authored-by: 李艺珅 <l>
pull/3586/head
Hyphon 4 years ago committed by GitHub
parent 1e2814608d
commit e179dedb4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,7 +50,7 @@ export const DatePickerProps = () => ({
disabledTime: PropTypes.func,
// onOpenChange?: (status: bool) => void;
// onOk?: (selectedTime: moment.Moment) => void;
mode: PropTypes.oneOf(['time', 'date', 'month', 'year']),
mode: PropTypes.oneOf(['time', 'date', 'month', 'year', 'decade']),
});
export const MonthPickerProps = () => ({

Loading…
Cancel
Save