From b6fbc266c5dfe74d1963f307d22a8a1c67b542a7 Mon Sep 17 00:00:00 2001 From: feng zhi hao Date: Mon, 14 Nov 2016 10:57:52 +0800 Subject: [PATCH] add declaration in DatePicker (#3829) --- components/date-picker/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/date-picker/index.tsx b/components/date-picker/index.tsx index e34a5ffbc2..e51cf43f5e 100755 --- a/components/date-picker/index.tsx +++ b/components/date-picker/index.tsx @@ -35,11 +35,13 @@ export interface DatePickerProps extends PickerProps, SinglePickerProps { toggleOpen?: (e: {open: boolean}) => void; disabledDate?: (current: moment.Moment) => boolean; onOpenChange?: (status: boolean) => void; + placeholder?: string; } const DatePicker = wrapPicker(createPicker(RcCalendar)) as React.ClassicComponentClass; export interface MonthPickerProps extends PickerProps, SinglePickerProps { disabledDate?: (current: moment.Moment) => boolean; + placeholder?: string; } const MonthPicker = wrapPicker(createPicker(MonthCalendar), 'YYYY-MM');