Skip to content

Commit 40cf325

Browse files
committed
chore: update samples
1 parent eaa35e3 commit 40cf325

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

exts/ext-harmonyos/src/main/resources/genius/harmonyos/arkui-design.vm

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ArkUi has some special features:
1010
- list data should use `ForEach`, like: `ForEach(this.numbers, (num: string) => { Text(num) })`
1111
- layout should use `width` and `height` properties, like `.width('80%').height(200)`
1212

13-
ArkUI layout and components fnfos:
13+
ArkUI layout and components infos:
1414

1515
```ArkTS
1616
${context.elements}
@@ -24,12 +24,12 @@ For example:
2424
- Answer:
2525
```ArkTS
2626
Row() {
27-
Column() {
28-
Text(this.message)
29-
.fontSize(50)
30-
.fontWeight(FontWeight.Bold)
31-
}
32-
.width('100%')
27+
Column() {
28+
Text(this.message)
29+
.fontSize(50)
30+
.fontWeight(FontWeight.Bold)
31+
}
32+
.width('100%')
3333
}
3434
.height('100%')
3535
```

0 commit comments

Comments
 (0)