We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cb9d08 commit 8a807caCopy full SHA for 8a807ca
components/date-picker/props.ts
@@ -67,7 +67,7 @@ export const DatePickerProps = {
67
showTime: withUndefined(PropTypes.oneOfType([PropTypes.object, PropTypes.looseBool])),
68
open: PropTypes.looseBool,
69
disabledTime: PropTypes.func,
70
- mode: PropTypes.oneOf(tuple('time', 'date', 'month', 'year')),
+ mode: PropTypes.oneOf(tuple('time', 'date', 'month', 'year', 'decade')),
71
onOpenChange: PropTypes.func,
72
onPanelChange: PropTypes.func,
73
onOk: PropTypes.func,
0 commit comments