Skip to content

Commit

Permalink
Merge pull request teslamotors#439 from abelmark/update-textarea-types
Browse files Browse the repository at this point in the history
fix: updated textarea types to fix bug related to rows prop
  • Loading branch information
joepuzzo authored Jan 18, 2023
2 parents a9af0cb + e303e51 commit a1243ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,10 @@ export function Input(props: FieldProps<InputProps>): JSX.Element;
/* ------------------------------- TextArea ------------------------------- */
type TextAreaProps = {
label?: string;
} & React.InputHTMLAttributes<HTMLTextAreaElement>;
} & React.DetailedHTMLProps<
React.TextareaHTMLAttributes<HTMLTextAreaElement>,
HTMLTextAreaElement
>;

export function TextArea(props: FieldProps<TextAreaProps>): JSX.Element;

Expand Down

0 comments on commit a1243ec

Please sign in to comment.