From 5c02e5db19f0fb2e376ff822bd7aa8105ffe6035 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=80=A7=E8=83=BD=E5=B0=8F=E9=92=A2=E7=82=AE?= <74130814+Ttempor@users.noreply.github.com> Date: Tue, 11 Mar 2025 22:49:29 +0800 Subject: [PATCH] Update intro.mdx --- docs/paper/dev/api/component-api/intro.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/paper/dev/api/component-api/intro.mdx b/docs/paper/dev/api/component-api/intro.mdx index a7d6b5d13..98deaeaef 100644 --- a/docs/paper/dev/api/component-api/intro.mdx +++ b/docs/paper/dev/api/component-api/intro.mdx @@ -61,7 +61,7 @@ final Component component = Component.text("Hello") the same component. Also note that Adventure Components are designed for use with static method imports to make code less verbose */ -final Component component = text() +final Component component = Component.text() .content("Hello").color(color(0x13f832)) .append(text(" world!", GREEN)) .build();