@visa/nova-react
Version:
Visa Product Design System Nova React library. Compatible with React ^19.
19 lines (18 loc) • 709 B
TypeScript
import type { ComponentPropsWithRef, ElementType } from 'react';
export type ListboxContainerProperties<ET extends ElementType = 'div'> = {
/** Is Disabled */
disabled?: boolean;
/** Error */
error?: boolean;
/** Tag of Component */
tag?: ElementType;
} & ComponentPropsWithRef<ET>;
/**
* Container for listbox component.
* @docs {@link https://design.visa.com/components/listbox/?code_library=react | See Docs}
*/
declare const ListboxContainer: {
<ET extends ElementType = "div">({ className, disabled, error, tag: Tag, ...remainingProps }: ListboxContainerProperties<ET>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default ListboxContainer;