@playbooks/hooks
Version:
A collection of React hooks for Playbooks.
11 lines (10 loc) • 354 B
TypeScript
import React from 'react';
export type HooksContextProps = {
toast?: any;
};
export declare const HooksContext: React.Context<HooksContextProps>;
export declare const HooksProvider: ({ contexts, children }: {
contexts: any;
children: any;
}) => import("react/jsx-runtime").JSX.Element;
export declare const useHooks: () => HooksContextProps;