Skip to content

Commit f84b090

Browse files
committed
Fix types for onChange and onFocus props
1 parent e8c0995 commit f84b090

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/DatePicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export type DatePickerProps = {
9797
yearAriaLabel?: string;
9898
yearPlaceholder?: string;
9999
} & CalendarProps &
100-
EventProps;
100+
Omit<EventProps, 'onChange' | 'onFocus'>;
101101

102102
export default function DatePicker(props: DatePickerProps) {
103103
const {

0 commit comments

Comments
 (0)