Browse Source

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

Co-authored-by: 李艺珅 <l>
pull/3197/head
Hyphon 4 years ago committed by GitHub
parent
commit
8a807caca2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/date-picker/props.ts

2
components/date-picker/props.ts

@ -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