UNPKG

@vectara/vectara-ui

Version:

Vectara's design system, codified as a React and Sass component library

18 lines (17 loc) 850 B
import { BasicInputProps } from "./BasicInput"; export type Props = BasicInputProps & { value?: string; onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void; maxLength?: number; }; export declare const VuiTextInput: 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; } & { value?: string | undefined; onChange?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined; maxLength?: number | undefined; } & import("react").RefAttributes<HTMLInputElement | null>>;