Skip to content

Commit 5c02e5d

Browse files
authored
Update intro.mdx
1 parent a5d45b7 commit 5c02e5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/paper/dev/api/component-api/intro.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ final Component component = Component.text("Hello")
6161
the same component. Also note that Adventure
6262
Components are designed for use with static method imports
6363
to make code less verbose */
64-
final Component component = text()
64+
final Component component = Component.text()
6565
.content("Hello").color(color(0x13f832))
6666
.append(text(" world!", GREEN))
6767
.build();

0 commit comments

Comments
 (0)