@vectara/vectara-ui
Version:
Vectara's design system, codified as a React and Sass component library
13 lines (12 loc) • 487 B
TypeScript
declare const SIZE: readonly ["s", "m", "l"];
type Props = Omit<React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "size"> & {
isInvalid?: boolean;
options: {
text: string;
value: string;
}[];
size?: (typeof SIZE)[number];
fullWidth?: boolean;
};
export declare const VuiSelect: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLSelectElement | null>>;
export {};