nes-ui-react
Version:
A design system that paints the web in 8 bits.
14 lines (13 loc) • 714 B
TypeScript
/// <reference types="react" />
import { IdProps } from "./interface/IdProps";
import { StyleProps } from "./interface/StyleProps";
export interface ModalProps extends StyleProps, React.PropsWithChildren<any>, IdProps {
open?: boolean;
backdrop?: boolean;
backdropClose?: boolean;
onClose?: () => void;
}
export declare const Modal: ({ id, open, backdrop, children, style, className, onClose, backdropClose }: ModalProps) => import("react/jsx-runtime").JSX.Element;
export interface ModalContentProps extends StyleProps, React.PropsWithChildren<any>, IdProps {
}
export declare const ModalContent: ({ id, children, style, className }: ModalContentProps) => import("react/jsx-runtime").JSX.Element;