@univerjs/design v0.5.0-beta.1 • Docs
Interface: ITextareaProps
Extends
Pick
<TextAreaProps
,"onFocus"
|"onBlur"
>
Properties
Property | Type | Description | Inherited from | Defined in |
---|---|---|---|---|
autoFocus? | boolean | Whether the input is autoFocus Default false | - | submodules/univer/packages/design/src/components/textarea/Textarea.tsx:29 |
autoSize? | boolean | { maxRows : number ; minRows : number ; } | The input affix wrapper style | - | submodules/univer/packages/design/src/components/textarea/Textarea.tsx:44 |
className? | string | The input class name | - | submodules/univer/packages/design/src/components/textarea/Textarea.tsx:34 |
disabled? | boolean | Whether the input is disabled Default false | - | submodules/univer/packages/design/src/components/textarea/Textarea.tsx:60 |
onBlur? | FocusEventHandler <HTMLTextAreaElement > | - | Pick.onBlur | node_modules/.pnpm/@types+react@18.3.12/node_modules/@types/react/index.d.ts:2411 |
onChange? | (value : string ) => void | Callback when user input | - | submodules/univer/packages/design/src/components/textarea/Textarea.tsx:72 |
onFocus? | FocusEventHandler <HTMLTextAreaElement > | - | Pick.onFocus | node_modules/.pnpm/@types+react@18.3.12/node_modules/@types/react/index.d.ts:2409 |
onKeyDown? | KeyboardEventHandler <Element > | Callback when user press a key Param | - | submodules/univer/packages/design/src/components/textarea/Textarea.tsx:66 |
placeholder? | string | The input placeholder | - | submodules/univer/packages/design/src/components/textarea/Textarea.tsx:49 |
style? | CSSProperties | The input affix wrapper style | - | submodules/univer/packages/design/src/components/textarea/Textarea.tsx:39 |
value? | string | The input content value | - | submodules/univer/packages/design/src/components/textarea/Textarea.tsx:54 |