UNPKG

@avarock/react-form

Version:

A customizable React form library with modular input components for building flexible forms

9 lines (8 loc) 524 B
import { ComponentProps } from "react"; import type { InputBaseProps } from "../types/baseTypes"; type InputTextAnimatedProps = { type?: "text" | "password" | "email" | "number"; togglePasswordVisibility?: boolean; } & InputBaseProps & Omit<ComponentProps<"input">, "placeholder">; declare function InputTextAnimated({ type, name, label, value, onChangeInput, error, className, togglePasswordVisibility, ...props }: InputTextAnimatedProps): import("react/jsx-runtime").JSX.Element; export default InputTextAnimated;