Skip to content

Commit

Permalink
fix(FormControl): ensures compatibility with @types/react@18.2.48 (#6763
Browse files Browse the repository at this point in the history
)
  • Loading branch information
giovannipiller committed Feb 9, 2024
1 parent 88334cf commit 652e709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FormControl.tsx
Expand Up @@ -12,7 +12,7 @@ type FormControlElement = HTMLInputElement | HTMLTextAreaElement;

export interface FormControlProps
extends BsPrefixProps,
React.HTMLAttributes<FormControlElement> {
Omit<React.InputHTMLAttributes<FormControlElement>, 'size'> {
htmlSize?: number;
size?: 'sm' | 'lg';
plaintext?: boolean;
Expand Down

0 comments on commit 652e709

Please sign in to comment.