We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67cd1e7 commit 36e33e4Copy full SHA for 36e33e4
src/reactpy/core/vdom.py
@@ -216,7 +216,7 @@ def separate_attributes_and_event_handlers(
216
attributes: Mapping[str, Any],
217
) -> tuple[VdomAttributes, EventHandlerDict]:
218
_attributes: VdomAttributes = {}
219
- _event_handlers: dict[str, EventHandlerType] = {}
+ _event_handlers: dict[str, EventHandlerType | str] = {}
220
221
for k, v in attributes.items():
222
handler: EventHandlerType
0 commit comments