@vectara/vectara-ui
Version:
Vectara's design system, codified as a React and Sass component library
12 lines (11 loc) • 497 B
TypeScript
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<BasicInputProps & {
value?: string | undefined;
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
maxLength?: number | undefined;
} & import("react").RefAttributes<HTMLInputElement | null>>;