Skip to content

Commit

Permalink
fix template (#2787)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lendemor authored Mar 6, 2024
1 parent c79719f commit 1b207eb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions reflex/.templates/jinja/custom_components/demo_app.py.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@ def index() -> rx.Component:
rx.theme_panel(),
rx.vstack(
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 }}(),
align="center",
spacing="7",
font_size="2em",
),
height="100vh",
)
Expand Down

0 comments on commit 1b207eb

Please sign in to comment.