mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
* Update index.tsx * add limitation on checking labelPlacement * add type checking of 'mode' in DatePickerProps
This commit is contained in:
parent
1b57dff9bb
commit
aa5ed8c237
@ -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…
Reference in New Issue
Block a user