@boxyhq/react-ui
Version:
React UI components from BoxyHQ
15 lines (14 loc) • 429 B
TypeScript
type InputProps = {
type?: "text" | "number" | "email" | "url";
id: string;
label: string;
value: string;
classNames?: {
input?: string;
label?: string;
container?: string;
};
handleInputChange?: (e: any) => void;
} & JSX.InputHTMLAttributes<HTMLInputElement>;
declare function InputField(props: InputProps): import("react/jsx-runtime").JSX.Element;
export default InputField;