UNPKG

react-form-toolkit

Version:

A form validation toolkit for React, specializing in simple to medium-sized, secure forms. It provides an easy-to-use API to validate form inputs and ensure data integrity.

13 lines (12 loc) 299 B
import React from "react"; interface InputProps { name: string; type?: string; value: string; label?: string; placeholder?: string; onChange: (e: React.ChangeEvent<HTMLInputElement>) => void; error?: string; } export declare const Input: React.FC<InputProps>; export {};