未验证 提交 a8b42491 编写于 作者: L LiAn 提交者: Gitee

update zh-cn/application-dev/reference/arkui-ts/ts-basic-components-button.md.

Signed-off-by: NLiAn <lian15@huawei.com>
上级 5ac0b587
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
## 接口 ## 接口
- Button(options?: {type?: ButtonType, stateEffect?: boolean}) - Button(options?: {type?: ButtonType, stateEffect?: boolean})
**表1** options参数说明 **表1** options参数说明
| 参数名 | 参数类型 | 必填 | 默认值 | 参数描述 | | 参数名 | 参数类型 | 必填 | 默认值 | 参数描述 |
...@@ -29,6 +30,7 @@ ...@@ -29,6 +30,7 @@
- Button(label?: string, options?: { type?: ButtonType, stateEffect?: boolean }) - Button(label?: string, options?: { type?: ButtonType, stateEffect?: boolean })
使用文本内容创建相应的按钮组件,此时Button无法包含子组件。 使用文本内容创建相应的按钮组件,此时Button无法包含子组件。
**表2** value参数说明 **表2** value参数说明
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册