Skip to content

Commit

Permalink
Fix types for onChange and onFocus props
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed May 22, 2023
1 parent 92e3891 commit 3326e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DateTimeRangePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export type DateTimeRangePickerProps = {
yearPlaceholder?: string;
} & CalendarProps &
ClockProps &
EventProps;
Omit<EventProps, 'onChange' | 'onFocus'>;

export default function DateTimeRangePicker(props: DateTimeRangePickerProps) {
const {
Expand Down

0 comments on commit 3326e1e

Please sign in to comment.