@univerjs/design v0.5.0-beta.1Docs


Interface: ITextareaProps

Extends

  • Pick<TextAreaProps, "onFocus" | "onBlur">

Properties

PropertyTypeDescriptionInherited fromDefined in
autoFocus?booleanWhether 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?stringThe input class name-submodules/univer/packages/design/src/components/textarea/Textarea.tsx:34
disabled?booleanWhether the input is disabled Default false-submodules/univer/packages/design/src/components/textarea/Textarea.tsx:60
onBlur?FocusEventHandler<HTMLTextAreaElement>-Pick.onBlurnode_modules/.pnpm/@types+react@18.3.12/node_modules/@types/react/index.d.ts:2411
onChange?(value: string) => voidCallback when user input-submodules/univer/packages/design/src/components/textarea/Textarea.tsx:72
onFocus?FocusEventHandler<HTMLTextAreaElement>-Pick.onFocusnode_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?stringThe input placeholder-submodules/univer/packages/design/src/components/textarea/Textarea.tsx:49
style?CSSPropertiesThe input affix wrapper style-submodules/univer/packages/design/src/components/textarea/Textarea.tsx:39
value?stringThe input content value-submodules/univer/packages/design/src/components/textarea/Textarea.tsx:54