提交 7ea10735 编写于 作者: B bojiang

jiangbo91@huawei.com

add component chain type file
Signed-off-by: Nbojiang <jiangbo91@huawei.com>
Change-Id: I00aed7b0b7543088de03a2df99dda560e631dfda
上级 5b1b9891
......@@ -89,7 +89,7 @@ struct ParentComponent {
可链式通用属性,使组件样式多样化:
**说明:**自定义组件链式调用暂不支持尾随闭包写法
> **说明:**自定义组件链式调用暂不支持尾随闭包写法( 在初始化自定义组件时,组件名称紧跟一个大括号“{}”形成尾随闭包场景(Inedx(){}`)。开发者可把尾随闭包看做一个容器,向其填充内容,如在Index(){}后增加组件{Column(){Text("content")} )
```
@Entry
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册