Files
reflex-ipad/reflex_ipad/pages/settings.py
2024-01-04 09:02:44 +01:00

23 lines
496 B
Python

"""The settings page."""
from reflex_ipad.templates import template
import reflex as rx
@template(route="/settings", title="Settings")
def settings() -> rx.Component:
"""The settings page.
Returns:
The UI for the settings page.
"""
return rx.vstack(
rx.heading("Settings", font_size="3em"),
rx.text("Welcome to Reflex!"),
rx.text(
"You can edit this page in ",
rx.code("{your_app}/pages/settings.py"),
),
)