Skip to content

Commit

Permalink
Merge pull request ant-design#13650 from iugo/patch-1
Browse files Browse the repository at this point in the history
fix RangePickerProps onOk type
  • Loading branch information
afc163 authored Dec 18, 2018
2 parents d0d5481 + 5681d63 commit 92e10eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/date-picker/interface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 92e10eb

Please sign in to comment.