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

19 lines (18 loc) 802 B
import { Option } from './index'; import { HTMLAttributes } from 'react'; interface SearchableSelectProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'id' | 'aria-label' | 'aria-describedby'> { options: Option[]; placeholder?: string; onChange: (value: string) => void; className?: string; defaultValue?: string; disabled?: boolean; error?: boolean; required?: boolean; name?: string; id?: string; "aria-label"?: string; "aria-describedby"?: string; } export declare const SearchableSelect: ({ options, placeholder, onChange, className, defaultValue, disabled, error, required, name, id, "aria-label": ariaLabel, "aria-describedby": ariaDescribedby, ...props }: SearchableSelectProps) => import("react/jsx-runtime").JSX.Element; export {};