File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed
reflex_chakra/components/forms Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change 55from reflex .components .literals import LiteralInputType
66from reflex .constants import MemoizationMode
77from reflex .event import EventHandler
8- from reflex .utils .imports import ImportDict
98from reflex .vars .base import Var
109
1110from reflex_chakra .components import (
@@ -74,14 +73,6 @@ class Input(ChakraComponent):
7473 # Fired when a key is released.
7574 on_key_up : EventHandler [lambda e0 : [e0 .key ]]
7675
77- def add_imports (self ) -> ImportDict :
78- """Add imports for the Input component.
79-
80- Returns:
81- The import dict.
82- """
83- return {"$/utils/state" : "set_val" }
84-
8576 @classmethod
8677 def create (cls , * children , ** props ) -> Component :
8778 """Create an Input component.
Original file line number Diff line number Diff line change @@ -14,15 +14,13 @@ from reflex.event import (
1414 EventType ,
1515 PointerEventInfo ,
1616)
17- from reflex .utils .imports import ImportDict
1817from reflex .vars .base import Var
1918
2019from reflex_chakra .components import (
2120 ChakraComponent ,
2221)
2322
2423class Input (ChakraComponent ):
25- def add_imports (self ) -> ImportDict : ...
2624 @classmethod
2725 def create (
2826 cls ,
You can’t perform that action at this time.
0 commit comments