UNPKG

@vela-ui/react

Version:

Vela UI React components

14 lines (11 loc) 764 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { ListBoxProps as ListBoxProps$1 } from 'react-aria-components'; import { DropdownDescription, DropdownItem, DropdownLabel, DropdownSection } from './dropdown.js'; import 'tailwind-variants'; type ListBoxProps<T> = Omit<ListBoxProps$1<T>, "layout" | "orientation">; declare function ListBox<T extends object>({ className, ...props }: ListBoxProps<T>): react_jsx_runtime.JSX.Element; declare const ListBoxItem: typeof DropdownItem; declare const ListBoxSection: typeof DropdownSection; declare const ListBoxLabel: typeof DropdownLabel; declare const ListBoxDescription: typeof DropdownDescription; export { ListBox, ListBoxDescription, ListBoxItem, ListBoxLabel, type ListBoxProps, ListBoxSection };