import { jsx as _jsx } from "react/jsx-runtime";
import { createContext } from "react";
export const EventStoreContext = createContext(null);
/** Provides a EventStore to the component tree */
export function EventStoreProvider({ eventStore, children }) {
    return _jsx(EventStoreContext.Provider, { value: eventStore, children: children });
}
