Skip to content

Commit 813a651

Browse files
committed
Fix demo playground
1 parent 5057b66 commit 813a651

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TextBuilder.playground/Contents.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ struct DemoView: View {
1717
.background(Color(.windowBackgroundColor))
1818
}
1919

20-
@SpacedTextBuilder
20+
@TextBuilderWithSpaces
2121
var welcomeText: Text {
2222
if let name = name, !name.isEmpty {
2323
"Welcome,"
@@ -27,7 +27,7 @@ struct DemoView: View {
2727
}
2828
}
2929

30-
@BasicTextBuilder
30+
@TextBuilder
3131
var descriptionText: Text {
3232
"This is a demo of "
3333
"TextBuilder".text.italic()

0 commit comments

Comments
 (0)