Browse Source

Continue works on #12667 (#14668)

* Update index.tsx

* add limitation on checking labelPlacement

* add type checking of 'mode' in DatePickerProps
pull/14675/head
zombieJ 6 years ago
committed by GitHub
parent
commit
aa5ed8c237
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      components/date-picker/interface.tsx

1
components/date-picker/interface.tsx

@ -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 {

Loading…
Cancel
Save