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
18 lines (17 loc) • 444 B
TypeScript
import { ReactNode } from 'react';
export interface PopoverProps {
/** Whether the popover is open */
open?: boolean;
/** Callback when open state changes */
onOpenChange?: (open: boolean) => void;
children: ReactNode;
}
export interface PopoverTriggerProps {
children: ReactNode;
className?: string;
asChild?: boolean;
}
export interface PopoverContentProps {
children: ReactNode;
className?: string;
}