type EventStateProviderProps = {
subscribeEvent: (
type: string,
handler: ArrowFunction,
) => void,
children?:
| false
| LiveElement<ArrowFunction>[]
| ReactElementInterop
| DeferredCall<ArrowFunction>,
}
packages / workbench / src / providers / event-provider.ts