UNPKG

wass-rct-ui

Version:

A lightweight and customizable WASS Rct UI component library for modern web applications.

23 lines (22 loc) 691 B
/** * @file wass-rct-ui * @description A reusable, high-performance Modal component with dynamic class management. * @author Web Apps Software Solutions * @copyright © 2024 Web Apps Software Solutions. All rights reserved. * @license MIT * @repository https://github.com/WebAppSoftNK/wass-rct-ui */ import * as React from "react"; import { ReactNode } from "react"; import { BaseColorVariant } from "../types"; export interface ModalProps { colorVariant?: BaseColorVariant; title: string; isOpen: boolean; onClose: () => void; children: ReactNode; footer?: ReactNode; className?: string; } declare const Modal: React.FC<ModalProps>; export default Modal;