fix template (#2787)

This commit is contained in:
Thomas Brandého 2024-03-06 01:10:44 +01:00 committed by GitHub
parent c79719f7be
commit 1b207eb444
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,11 +20,14 @@ def index() -> rx.Component:
rx.theme_panel(), rx.theme_panel(),
rx.vstack( rx.vstack(
rx.heading("Welcome to Reflex!", size="9"), rx.heading("Welcome to Reflex!", size="9"),
rx.text("Test your custom component by editing ", rx.code(filename)), rx.text(
"Test your custom component by editing ",
rx.code(filename),
font_size="2em",
),
{{ module_name }}(), {{ module_name }}(),
align="center", align="center",
spacing="7", spacing="7",
font_size="2em",
), ),
height="100vh", height="100vh",
) )