You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/components/textarea/textarea.en-US.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,16 +12,16 @@ allowInputOverMax | Boolean | false | Allow input after exceeding `maxlength` or
12
12
autofocus | Boolean | false | \- | N
13
13
autosize | Boolean / Object | false | Typescript: `boolean \| { minRows?: number; maxRows?: number }` | N
14
14
count | Boolean / Function | - | Character counter. It is enabled by default when `maxLength` or `maxCharacter` is set.。Typescript: `boolean \| ((ctx: { value: string; count: number; maxLength?: number; maxCharacter?: number }) => TNode)`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/common.ts) | N
15
-
disabled | Boolean | undefined | \- | N
15
+
disabled | Boolean | false | \- | N
16
16
maxcharacter | Number | - | \- | N
17
17
maxlength | Number | - | Typescript: `number` | N
18
18
name | String | - | \- | N
19
19
placeholder | String | undefined | \- | N
20
20
readonly | Boolean | false | \- | N
21
21
status | String | - | options: default/success/warning/error | N
22
22
tips | TNode | - | Typescript: `string \| TNode`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/common.ts) | N
23
-
value | String / Number | - | Typescript: `TextareaValue``type TextareaValue = string \| number`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/textarea/type.ts) | N
24
-
defaultValue | String / Number | - | uncontrolled property。Typescript: `TextareaValue``type TextareaValue = string \| number`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/textarea/type.ts) | N
23
+
value | String | - | Typescript: `TextareaValue``type TextareaValue = string`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/textarea/type.ts) | N
24
+
defaultValue | String | - | uncontrolled property。Typescript: `TextareaValue``type TextareaValue = string`。[see more ts definition](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/textarea/type.ts) | N
25
25
onBlur | Function | | Typescript: `(value: TextareaValue, context: { e: FocusEvent }) => void`<br/> | N
26
26
onChange | Function | | Typescript: `(value: TextareaValue, context?: { e?: InputEvent }) => void`<br/> | N
27
27
onFocus | Function | | Typescript: `(value: TextareaValue, context : { e: FocusEvent }) => void`<br/> | N
value | String / Number | - | 文本框值。TS 类型:`TextareaValue``type TextareaValue = string`。[详细类型定义](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/textarea/type.ts) | N
24
-
defaultValue | String / Number | - | 文本框值。非受控属性。TS 类型:`TextareaValue``type TextareaValue = string`。[详细类型定义](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/textarea/type.ts) | N
23
+
value | String | - | 文本框值。TS 类型:`TextareaValue``type TextareaValue = string`。[详细类型定义](https://github.com/Tencent/tdesign-react/blob/develop/packages/components/textarea/type.ts) | N
0 commit comments