Skip to content

Types

A collection of type definition helpers.

reactpy_utils.types.Action = Callable[..., None]

A callable type that returns None

reactpy_utils.types.EventArgs = dict[str, Any]

Event handler args type

reactpy_utils.types.EventHandler = Callable[[EventArgs], None]

ReactPy Event handler arguments type

reactpy_utils.types.NO_PROPS()

A function that returns an empty props dict


Last update: November 30, 2024
Authors: Steve Jones