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');