We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5df52a commit e79211bCopy full SHA for e79211b
src/components/forms/DatePicker/DatePicker.tsx
@@ -5,6 +5,7 @@ import React, {
5
FocusEvent,
6
KeyboardEvent,
7
JSX,
8
+ InputEventHandler,
9
} from 'react'
10
import classnames from 'classnames'
11
@@ -133,7 +134,7 @@ export const DatePicker = ({
133
134
}
135
136
- const handleExternalInput: React.ComponentProps<'input'>['onInput'] = (
137
+ const handleExternalInput: InputEventHandler<HTMLInputElement> = (
138
event
139
): void => {
140
// Keep external & internal input values in sync
0 commit comments