@tarojsx/ui
Version:
We reinvents the UI for Taro3+
66 lines (37 loc) • 1.36 kB
Markdown
---
id: "_textarea_.textareaprops"
title: "TextareaProps"
sidebar_label: "TextareaProps"
---
## Hierarchy
* object
* object
↳ **TextareaProps**
## Index
### Properties
* [className](_textarea_.textareaprops.md#optional-classname)
* [maxLength](_textarea_.textareaprops.md#optional-maxlength)
* [onChange](_textarea_.textareaprops.md#optional-onchange)
* [style](_textarea_.textareaprops.md#optional-style)
* [value](_textarea_.textareaprops.md#optional-value)
## Properties
### `Optional` className
• **className**? : *string*
*Defined in [src/Textarea.tsx:13](https://github.com/tarojsx/ui/blob/v0.11.0/src/Textarea.tsx#L13)*
___
### `Optional` maxLength
• **maxLength**? : *number*
*Defined in [src/Textarea.tsx:19](https://github.com/tarojsx/ui/blob/v0.11.0/src/Textarea.tsx#L19)*
最大输入长度,设置为 -1 的时候不限制最大长度
___
### `Optional` onChange
• **onChange**? : *CommonEventFunction*
*Defined in [src/Textarea.tsx:20](https://github.com/tarojsx/ui/blob/v0.11.0/src/Textarea.tsx#L20)*
___
### `Optional` style
• **style**? : *CSSProperties*
*Defined in [src/Textarea.tsx:14](https://github.com/tarojsx/ui/blob/v0.11.0/src/Textarea.tsx#L14)*
___
### `Optional` value
• **value**? : *string*
*Defined in [src/Textarea.tsx:15](https://github.com/tarojsx/ui/blob/v0.11.0/src/Textarea.tsx#L15)*