From 3ce9188056c298e4b70f2380e10da6cd9be196da Mon Sep 17 00:00:00 2001 From: "ziyi.hzy" Date: Mon, 8 Jan 2018 16:31:50 +0800 Subject: [PATCH] fix: add props define - mode in DatePicker.RangePicker --- components/date-picker/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/date-picker/index.tsx b/components/date-picker/index.tsx index 03c44272e5..095277a738 100755 --- a/components/date-picker/index.tsx +++ b/components/date-picker/index.tsx @@ -69,6 +69,7 @@ export interface RangePickerProps extends PickerProps { [range: string]: moment.Moment[], }; placeholder?: [string, string]; + mode?: string | string[]; disabledTime?: (current: moment.Moment, type: string) => { disabledHours?: () => number[], disabledMinutes?: () => number[],