Skip to content

Commit d9708cb

Browse files
authored
make intro form closable (#57)
1 parent f537d6a commit d9708cb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

reflex_ui/blocks/intro_form.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,15 @@ def intro_form_dialog(
381381
"Get Started With Your Free Trial",
382382
class_name="text-xl font-bold text-secondary-12",
383383
),
384+
ui.dialog.close(
385+
render_=ui.button(
386+
ui.hi("Cancel01Icon"),
387+
variant="ghost",
388+
size="icon-sm",
389+
on_click=intro_form_open_cs.set_value(False),
390+
class_name="text-secondary-11",
391+
),
392+
),
384393
class_name="flex flex-row justify-between items-center gap-1 px-6 pt-4 -mb-4",
385394
),
386395
intro_form(

0 commit comments

Comments
 (0)