@visa/nova-react
Version:
Visa Product Design System Nova React library. Compatible with React ^19.
17 lines (16 loc) • 632 B
TypeScript
import type { ComponentPropsWithRef, ElementType } from 'react';
export type SelectProperties<ET extends ElementType = 'select'> = {
/** Tag of Component */
tag?: ElementType;
} & ComponentPropsWithRef<ET>;
/**
* HTML element that allows users to select one option from a list.
* @docs {@link https://design.visa.com/components/select/?code_library=react | See Docs}
* @vgar TODO
* @wcag TODO
*/
declare const Select: {
<ET extends ElementType = "select">({ className, tag: Tag, ...remainingProps }: SelectProperties<ET>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default Select;