@icoms-detection/ui
Version:
This is the OFFICIAL UI library created by Icoms Detection to design their apps.
13 lines (12 loc) • 427 B
TypeScript
import { ComponentProps, FC } from "react";
import { StyledModal } from "../stitches/modal";
import { SizeProps } from "../utils/types";
declare type StitchesModal = ComponentProps<typeof StyledModal>;
export interface ModalProps extends StitchesModal {
isOpen?: boolean;
onClose: () => void;
closeOnOutsideClick?: boolean;
size?: SizeProps;
}
export declare const Modal: FC<ModalProps>;
export {};