applesauce-react
Version:
React hooks for applesauce
8 lines (7 loc) • 385 B
TypeScript
import { PropsWithChildren } from "react";
import { ActionHub } from "applesauce-actions";
export declare const ActionsContext: import("react").Context<ActionHub | undefined>;
/** Provides an ActionHub to the component tree */
export declare function ActionsProvider({ actionHub, children }: PropsWithChildren<{
actionHub?: ActionHub;
}>): import("react/jsx-runtime").JSX.Element;