Skip to content

Commit ece254a

Browse files
committed
update
1 parent 03afc3b commit ece254a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

demo/demo/demo.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,6 @@ def index() -> rx.Component:
5858
on_value_change=lambda value: rx.toast.success(f"Value: {value}"),
5959
on_open_change=lambda value: rx.toast.success(f"Open: {value}"),
6060
),
61-
ui.preview_card(
62-
trigger=ui.button("Hover for preview", variant="outline"),
63-
content=rx.el.div(
64-
rx.el.h3("Preview Card", class_name="text-lg font-semibold mb-2"),
65-
rx.el.p("This is a preview card component that shows content on hover.", class_name="text-sm text-secondary-11"),
66-
class_name="p-4"
67-
),
68-
delay=300,
69-
close_delay=100,
70-
),
7161
ui.theme_switcher(class_name="absolute top-4 right-4"),
7262
class_name=ui.cn(
7363
"flex flex-col gap-6 items-center justify-center h-screen", "bg-secondary-1"

0 commit comments

Comments
 (0)