UNPKG

kolenkainc-honohub-react

Version:

React admin panel for honohub

17 lines (16 loc) 482 B
import { type PropsWithChildren } from "react"; export declare const DialogManagerProvider: (props: PropsWithChildren) => import("react/jsx-runtime").JSX.Element; export type ActionType = { show: true; title: string; message: string; action: () => void; } | { show: false; }; export declare const useDialogManager: () => { action: { state: ActionType; setState: import("react").Dispatch<import("react").SetStateAction<ActionType>>; }; };