@visa/nova-react
Version:
Visa Product Design System Nova React library. Compatible with React ^19.
15 lines (14 loc) • 596 B
TypeScript
import type { ComponentPropsWithRef, ElementType } from 'react';
export type ListboxItemProperties<ET extends ElementType = 'li'> = {
/** Tag of Component */
tag?: ElementType;
} & ComponentPropsWithRef<ET>;
/**
* Container for elements used inside listbox.
* @docs {@link https://design.visa.com/components/listbox/?code_library=react | See Docs}
*/
declare const ListboxItem: {
<ET extends ElementType = "li">({ className, tag: Tag, ...remainingProps }: ListboxItemProperties<ET>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default ListboxItem;