@dreamkit/solid
Version:
DreamKit tools for Solid.
8 lines • 435 B
TypeScript
import type { ActionResult } from "./createAction.js";
export type ActionManagerContextValue = {
add: (action: ActionResult<any>) => void;
remove: (action: ActionResult<any>) => void;
};
export declare const ActionManagerContext: import("solid-js").Context<ActionManagerContextValue | undefined>;
export declare const useActionManager: () => ActionManagerContextValue | undefined;
//# sourceMappingURL=useActionManager.d.ts.map