UNPKG

@visa/nova-react

Version:

Visa Product Design System Nova React library. Compatible with React ^19.

22 lines (21 loc) 797 B
import type { ComponentPropsWithRef, ElementType } from 'react'; export type ListboxProperties<ET extends ElementType = 'ul'> = { /** Multiselect */ multiselect?: boolean; /** Scroll */ scroll?: boolean; /** Tag of Component */ tag?: ElementType; } & ComponentPropsWithRef<ET>; /** * Container that displays a list of items available for selection. * @docs {@link https://design.visa.com/components/listbox/?code_library=react | See Docs} * @related listbox-container, listbox-item, use-listbox * @vgar TODO * @wcag TODO */ declare const Listbox: { <ET extends ElementType = "ul">({ className, multiselect, scroll, tag: Tag, ...remainingProps }: ListboxProperties<ET>): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default Listbox;