UNPKG

applesauce-react

Version:

React hooks for applesauce

8 lines (7 loc) 390 B
import { PropsWithChildren } from "react"; import { IEventStore } from "applesauce-core"; export declare const EventStoreContext: import("react").Context<IEventStore | null>; /** Provides a EventStore to the component tree */ export declare function EventStoreProvider({ eventStore, children }: PropsWithChildren<{ eventStore: IEventStore; }>): import("react/jsx-runtime").JSX.Element;