Continue works on #12667 (#14668)

* Update index.tsx

* add limitation on checking labelPlacement

* add type checking of 'mode' in DatePickerProps
This commit is contained in:
zombieJ 2019-01-31 16:52:29 +08:00 committed by GitHub
parent 1b57dff9bb
commit aa5ed8c237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,7 @@ export interface DatePickerProps extends PickerProps, SinglePickerProps {
onOpenChange?: (status: boolean) => void;
onOk?: (selectedTime: moment.Moment) => void;
placeholder?: string;
mode?: 'time' | 'date' | 'month' | 'year';
}
export interface MonthPickerProps extends PickerProps, SinglePickerProps {