@vectara/vectara-ui
Version:
Vectara's design system, codified as a React and Sass component library
18 lines (17 loc) • 511 B
TypeScript
declare const SIZE: readonly ["m", "l"];
type Props = {
className?: string;
id?: string;
name?: string;
isInvalid?: boolean;
options: {
text: string;
value: string;
}[];
value: string;
size?: (typeof SIZE)[number];
onChange: (event: React.ChangeEvent<HTMLSelectElement>) => void;
fullWidth?: boolean;
};
export declare const VuiSelect: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLSelectElement | null>>;
export {};