UNPKG

@jigoooo/shared-ui

Version:

A reusable React component library and design system with TypeScript support, built on Vite for seamless integration and optimized performance.

16 lines (15 loc) 1.04 kB
import { DialogStore } from './dialog-type.ts'; export declare const useDialogStore: import('zustand').UseBoundStore<import('zustand').StoreApi<DialogStore>>; export declare const dialog: { open: (openDialog: import('./dialog-type.ts').DialogConfig) => void; openAsync: (openDialog: import('./dialog-type.ts').DialogConfig) => Promise<boolean>; close: () => void; success: (openDialog: import('./dialog-type.ts').DialogConfig) => void; successAsync: (openDialog: import('./dialog-type.ts').DialogConfig) => Promise<boolean>; error: (openDialog: import('./dialog-type.ts').DialogConfig) => void; errorAsync: (openDialog: import('./dialog-type.ts').DialogConfig) => Promise<boolean>; warning: (openDialog: import('./dialog-type.ts').DialogConfig) => void; warningAsync: (openDialog: import('./dialog-type.ts').DialogConfig) => Promise<boolean>; info: (openDialog: import('./dialog-type.ts').DialogConfig) => void; infoAsync: (openDialog: import('./dialog-type.ts').DialogConfig) => Promise<boolean>; };