diff --git a/components/lib/inputtext/inputtext.d.ts b/components/lib/inputtext/inputtext.d.ts index c00b9a0325..37a14b9bb8 100644 --- a/components/lib/inputtext/inputtext.d.ts +++ b/components/lib/inputtext/inputtext.d.ts @@ -3,12 +3,14 @@ import { KeyFilterType } from '../keyfilter'; import TooltipOptions from '../tooltip/tooltipoptions'; export interface InputTextProps extends Omit, HTMLInputElement>, 'onInput' | 'ref'> { + children?: React.ReactNode; keyfilter?: KeyFilterType; - validateOnly?: boolean; tooltip?: string; tooltipOptions?: TooltipOptions; + validateOnly?: boolean; onInput?(event: React.FormEvent, validatePattern: boolean): void; - children?: React.ReactNode; } -export declare class InputText extends React.Component {} +export declare class InputText extends React.Component { + //value?: string; +} diff --git a/components/lib/inputtextarea/inputtextarea.d.ts b/components/lib/inputtextarea/inputtextarea.d.ts index 7ca305e0f5..a45f3b0d44 100644 --- a/components/lib/inputtextarea/inputtextarea.d.ts +++ b/components/lib/inputtextarea/inputtextarea.d.ts @@ -3,9 +3,11 @@ import TooltipOptions from '../tooltip/tooltipoptions'; export interface InputTextareaProps extends Omit, HTMLTextAreaElement>, 'ref'> { autoResize?: boolean; + children?: React.ReactNode; tooltip?: string; tooltipOptions?: TooltipOptions; - children?: React.ReactNode; } -export declare class InputTextarea extends React.Component {} +export declare class InputTextarea extends React.Component { + value?: string; +}