Import event constructor in custom components (#249)
This commit is contained in:
parent
7f0aa4f5c4
commit
98e9edd98a
@ -81,7 +81,10 @@ def _compile_components(components: Set[CustomComponent]) -> str:
|
|||||||
Returns:
|
Returns:
|
||||||
The compiled components.
|
The compiled components.
|
||||||
"""
|
"""
|
||||||
imports = {"react": {"memo"}}
|
imports = {
|
||||||
|
"react": {"memo"},
|
||||||
|
f"/{constants.STATE_PATH}": {"E"},
|
||||||
|
}
|
||||||
component_defs = []
|
component_defs = []
|
||||||
|
|
||||||
# Compile each component.
|
# Compile each component.
|
||||||
|
Loading…
Reference in New Issue
Block a user