Skip to content

Commit

Permalink
refactor(types): sync components types
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryCode committed Aug 28, 2023
1 parent 14dcc4c commit 42a13de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/components/forms/textarea.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default class PageView extends Component {
| disableDefaultPadding | `boolean` | `false` || 是否去掉 iOS 下的默认内边距 |
| nativeProps | `Record<string, unknown>` | || 用于透传 `WebComponents` 上的属性到内部 H5 标签上 |
| confirmType | "send" or "search" or "next" or "go" or "done" or "return" | || 设置键盘右下角按钮的文字 |
| confirmHold | `string` | || 点击键盘右下角按钮时是否保持键盘不收起 |
| confirmHold | `boolean` | || 点击键盘右下角按钮时是否保持键盘不收起 |
| name | `string` | || 组件名字,用于表单提交获取数据。 |
| showCount | `boolean` | `true` || 是否渲染字数统计功能(是否删除默认计数器/是否显示字数统计)。 |
| controlled | `boolean` | `false` || 是否为受控组件。为 true 时,value 内容会完全受 setData 控制。 |
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-components/types/Textarea.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ interface TextareaProps extends StandardProps, FormItemProps {
/** 点击键盘右下角按钮时是否保持键盘不收起
* @supported weapp, swan, tt
*/
confirmHold?: string
confirmHold?: boolean
/** 组件名字,用于表单提交获取数据。
* @supported alipay
*/
Expand Down

0 comments on commit 42a13de

Please sign in to comment.