Skip to content

Commit c9d48d1

Browse files
committed
fix(ui): fix textarea ts-type error
1 parent b5ef764 commit c9d48d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ui/src/components/textarea/Textarea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { useComponentConfig, usePrefixConfig } from '../root';
1515

1616
export type DTextareaRef = HTMLTextAreaElement;
1717

18-
export interface DTextareaProps extends React.InputHTMLAttributes<HTMLTextAreaElement> {
18+
export interface DTextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
1919
dFormControl?: DFormControl;
2020
dModel?: string;
2121
dRows?: 'auto' | { minRows?: number; maxRows?: number };

0 commit comments

Comments
 (0)