import { jsx as _jsx } from "react/jsx-runtime"; import { createContext } from "react"; export const FactoryContext = createContext(undefined); /** Provides an {@link EventFactory} to the component tree */ export function FactoryProvider({ factory, children }) { return _jsx(FactoryContext.Provider, { value: factory, children: children }); }