From 8a807caca249cd5f863026ee95eabf2f3afc34e6 Mon Sep 17 00:00:00 2001 From: Hyphon <309872193@qq.com> Date: Wed, 13 Jan 2021 21:17:05 +0800 Subject: [PATCH] fix(date-picker): add props(mode) value -- decade (#3514) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ĉŽè‰şç… --- components/date-picker/props.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/date-picker/props.ts b/components/date-picker/props.ts index 73129310d..86536cf4f 100644 --- a/components/date-picker/props.ts +++ b/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,