fix(date-picker): add props(mode) value -- decade (#3514)

Co-authored-by: 李艺珅 <l>
pull/3197/head
Hyphon 4 years ago committed by GitHub
parent 6cb9d08b78
commit 8a807caca2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -67,7 +67,7 @@ export const DatePickerProps = {
showTime: withUndefined(PropTypes.oneOfType([PropTypes.object, PropTypes.looseBool])),
open: PropTypes.looseBool,
disabledTime: PropTypes.func,
mode: PropTypes.oneOf(tuple('time', 'date', 'month', 'year')),
mode: PropTypes.oneOf(tuple('time', 'date', 'month', 'year', 'decade')),
onOpenChange: PropTypes.func,
onPanelChange: PropTypes.func,
onOk: PropTypes.func,

Loading…
Cancel
Save