diff --git a/components/lib/inputtext/inputtext.d.ts b/components/lib/inputtext/inputtext.d.ts index 37a14b9bb8..fee3e87437 100644 --- a/components/lib/inputtext/inputtext.d.ts +++ b/components/lib/inputtext/inputtext.d.ts @@ -11,6 +11,4 @@ export interface InputTextProps extends Omit, validatePattern: boolean): void; } -export declare class InputText extends React.Component { - //value?: string; -} +export declare const InputText: React.ForwardRefExoticComponent>; diff --git a/components/lib/inputtextarea/inputtextarea.d.ts b/components/lib/inputtextarea/inputtextarea.d.ts index 67f7d04c0b..9ef001b018 100644 --- a/components/lib/inputtextarea/inputtextarea.d.ts +++ b/components/lib/inputtextarea/inputtextarea.d.ts @@ -10,6 +10,4 @@ export interface InputTextareaProps extends Omit { - value?: string; -} +export declare const InputTextarea: React.ForwardRefExoticComponent>;