Skip to content

Commit

Permalink
[pickers] Fix field types to avoid error on latest @types/react ver…
Browse files Browse the repository at this point in the history
…sion (#11397)
  • Loading branch information
LukasTy committed Dec 13, 2023
1 parent d7d5ef7 commit f0e5702
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export type UseFieldResponse<TForwardedProps extends UseFieldForwardedProps> = O
keyof UseFieldForwardedProps
> &
Required<UseFieldForwardedProps> &
Pick<React.HTMLAttributes<HTMLInputElement>, 'autoCorrect' | 'inputMode' | 'placeholder'> & {
Pick<React.InputHTMLAttributes<HTMLInputElement>, 'autoCorrect' | 'inputMode' | 'placeholder'> & {
ref: React.Ref<HTMLInputElement>;
value: string;
onChange: React.ChangeEventHandler<HTMLInputElement>;
Expand Down

0 comments on commit f0e5702

Please sign in to comment.