@pomegranate-ui/maracuya-ui
Version:
Maracuya is a design system built with React, Typescript & emotion
13 lines (12 loc) • 378 B
TypeScript
/// <reference types="react" />
import { ICoreBase } from '../../core';
export interface IuseModal extends ICoreBase {
backdrop?: boolean;
ariaLabel?: string;
css?: any;
}
export declare const useModal: () => {
show: () => void;
hide: () => void;
RenderModal: ({ children, backdrop, ariaLabel, className, css }: IuseModal) => JSX.Element;
};