mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +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