mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
fix RangePickerProps onOk type
This commit is contained in:
parent
219500ee7a
commit
5681d6381a
@ -67,7 +67,7 @@ export interface RangePickerProps extends PickerProps {
|
||||
defaultPickerValue?: RangePickerValue;
|
||||
onChange?: (dates: RangePickerValue, dateStrings: [string, string]) => void;
|
||||
onCalendarChange?: (dates: RangePickerValue, dateStrings: [string, string]) => void;
|
||||
onOk?: (selectedTime: moment.Moment) => void;
|
||||
onOk?: (selectedTime: moment.Moment[]) => void;
|
||||
showTime?: TimePickerProps | boolean;
|
||||
ranges?: {
|
||||
[range: string]: RangePickerPresetRange;
|
||||
|
Loading…
Reference in New Issue
Block a user