UNPKG

nextuiq

Version:

NextUIQ is a modern, lightweight, and developer-friendly UI component library for React and Next.js. Built with TypeScript and Tailwind CSS, it offers customizable, accessible, and performance-optimized components with built-in dark mode, theme customizat

16 lines (15 loc) 625 B
import { default as React } from 'react'; export interface ModalProps { isOpen: boolean; onClose: () => void; className?: string; children: React.ReactNode; showCloseButton?: boolean; isFullscreen?: boolean; size?: 'sm' | 'md' | 'lg' | 'xl' | 'full'; position?: 'center' | 'top'; title?: string; description?: string; initialFocus?: React.RefObject<HTMLElement>; } export declare const Modal: ({ isOpen, onClose, children, className, showCloseButton, isFullscreen, size, position, title, description, initialFocus, }: ModalProps) => import("react/jsx-runtime").JSX.Element | null;