@vectara/vectara-ui
Version:
Vectara's design system, codified as a React and Sass component library
17 lines (16 loc) • 857 B
TypeScript
declare const SIZE: readonly ["s", "m", "l"];
export type BasicInputProps = Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "size" | "autoComplete" | "ref"> & {
isInvalid?: boolean;
size?: (typeof SIZE)[number];
fullWidth?: boolean;
autoComplete?: boolean | string;
isSelected?: boolean;
};
export declare const VuiBasicInput: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref" | "size" | "autoComplete"> & {
isInvalid?: boolean | undefined;
size?: "s" | "m" | "l" | undefined;
fullWidth?: boolean | undefined;
autoComplete?: string | boolean | undefined;
isSelected?: boolean | undefined;
} & import("react").RefAttributes<HTMLInputElement | null>>;
export {};