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

25 lines (24 loc) 829 B
import { default as React } from 'react'; export interface DropdownItemProps { label: string; value: string; icon?: React.ReactNode; disabled?: boolean; onClick?: () => void; selected?: boolean; } export interface DropdownProps { trigger?: React.ReactNode; items?: DropdownItemProps[]; align?: 'start' | 'end'; className?: string; onSelect?: (value: string) => void; isOpen?: boolean; onClose?: () => void; children?: React.ReactNode; id?: string; role?: string; 'aria-modal'?: boolean; 'aria-label'?: string; } export declare const Dropdown: ({ trigger, items, align, className, onSelect, isOpen: controlledIsOpen, onClose, children, id, role, "aria-modal": ariaModal, "aria-label": ariaLabel, }: DropdownProps) => import("react/jsx-runtime").JSX.Element;