Skip to content

Commit

Permalink
Continue works on ant-design#12667 (ant-design#14668)
Browse files Browse the repository at this point in the history
* Update index.tsx

* add limitation on checking labelPlacement

* add type checking of 'mode' in DatePickerProps
  • Loading branch information
zombieJ authored Jan 31, 2019
1 parent 1b57dff commit aa5ed8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/date-picker/interface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit aa5ed8c

Please sign in to comment.