UNPKG

@heroui/select

Version:

A select displays a collapsible list of options and allows a user to select one of them.

21 lines (18 loc) 641 B
import '@heroui/listbox'; import { ReactElement } from 'react'; import { UseSelectProps } from './use-select.mjs'; import './hidden-select.mjs'; import '@react-types/shared'; import '@heroui/system'; import '@heroui/theme'; import '@heroui/react-utils'; import '@heroui/popover'; import '@heroui/scroll-shadow'; import '@heroui/use-aria-multiselect'; import '@heroui/spinner'; import 'react/jsx-runtime'; interface Props<T> extends UseSelectProps<T> { } type SelectProps<T extends object = object> = Props<T>; declare const Select: <T extends object>(props: SelectProps<T>) => ReactElement; export { type SelectProps, Select as default };