@visa/nova-react
Version:
Visa Product Design System Nova React library
24 lines (23 loc) • 883 B
TypeScript
import { ElementType, ForwardedRef } from 'react';
export type ListboxProperties = {
/** @ignore */
className?: string;
/** Multiselect */
multiselect?: boolean;
/** Scroll */
scroll?: boolean;
/** Tag of Component */
tag?: ElementType;
};
/**
* Container that displays a list of items available for selection.
* @docs {@link https://design.visa.com/react/components/listbox | See Docs}
* @related listbox-container, listbox-item, use-listbox
* @vgar TODO
* @wcag TODO
*/
declare const _default: <HTMLElementType = HTMLElement>(props: {
children?: import("react").ReactNode | import("react").ReactNode[];
ref?: ForwardedRef<HTMLElementType> | undefined;
} & import("react").AllHTMLAttributes<HTMLElementType> & import("react").SVGAttributes<HTMLElementType> & ListboxProperties) => import("react").ReactElement;
export default _default;