From a8b4249189d6fc9e40ac1e86ba2ea38acac31cb2 Mon Sep 17 00:00:00 2001 From: LiAn Date: Thu, 5 May 2022 03:39:06 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/arkui-ts/ts-basic-components-button.md. Signed-off-by: LiAn --- .../reference/arkui-ts/ts-basic-components-button.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-button.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-button.md index a93bd5bc1e..9f6284b8a1 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-button.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-button.md @@ -20,6 +20,7 @@ ## 接口 - Button(options?: {type?: ButtonType, stateEffect?: boolean}) + **表1** options参数说明 | 参数名 | 参数类型 | 必填 | 默认值 | 参数描述 | @@ -29,6 +30,7 @@ - Button(label?: string, options?: { type?: ButtonType, stateEffect?: boolean }) + 使用文本内容创建相应的按钮组件,此时Button无法包含子组件。 **表2** value参数说明 -- GitLab