@refinedev/core
Version:
Refine is a React meta-framework for building enterprise-level, data-intensive applications rapidly with support for modern UI libraries and headless integrations.
13 lines • 345 B
Source Map (JSON)
export type useModalReturnType = {
visible: boolean;
show: () => void;
close: () => void;
};
export type useModalProps = {
/**
* Initial state of the modal
*/
defaultVisible?: boolean;
};
export declare const useModal: ({ defaultVisible, }?: useModalProps) => useModalReturnType;
//# sourceMappingURL=index.d.ts.map