File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 33This module provides a comprehensive intro form that validates company emails.
44"""
55
6+ from typing import Any
7+
68import reflex as rx
79from reflex .event import EventType
810from reflex .experimental .client_state import ClientStateVar
@@ -241,7 +243,9 @@ def select_field(
241243
242244
243245def intro_form (
244- id_prefix : str = "" , on_submit : EventType [()] | None = None , ** props
246+ id_prefix : str = "" ,
247+ on_submit : EventType [dict [str , Any ]] | EventType [()] | None = None ,
248+ ** props ,
245249) -> rx .Component :
246250 """Create and return the intro form component.
247251
@@ -349,7 +353,7 @@ def intro_form(
349353def intro_form_dialog (
350354 trigger : rx .Component | None = None ,
351355 id_prefix : str = "" ,
352- on_submit : EventType [()] | None = None ,
356+ on_submit : EventType [dict [ str , Any ]] | EventType [ ()] | None = None ,
353357 ** props ,
354358) -> rx .Component :
355359 """Return a intro form dialog container element.
You can’t perform that action at this time.
0 commit comments