UNPKG

easy-dialogs

Version:

Function based dialogs manager for React

14 lines 534 B
export type ActiveDialogInstance = { key: number; component: React.ComponentType<any>; props: any; visualState?: "open" | "closed"; useExitAnimation?: boolean; dialogKeyId?: any; }; export declare const getNextDialogKeyAtom: import("jotai").WritableAtom<number, [], number>; export declare const activeDialogs: import("jotai").PrimitiveAtom<ActiveDialogInstance[]> & { init: ActiveDialogInstance[]; }; export declare const getActiveDialogs: () => ActiveDialogInstance[]; //# sourceMappingURL=atoms.d.ts.map