@avarock/react-form
Version:
A customizable React form library with modular input components for building flexible forms
9 lines (8 loc) • 471 B
TypeScript
import { ComponentProps } from "react";
import type { InputBaseProps } from "../types/baseTypes";
type InputTextProps = {
type?: "text" | "password" | "email" | "number";
togglePasswordVisibility?: boolean;
} & InputBaseProps & ComponentProps<"input">;
declare function InputText({ type, name, label, value, onChangeInput, error, className, togglePasswordVisibility, ...props }: InputTextProps): import("react/jsx-runtime").JSX.Element;
export default InputText;