minimal-form
v1.0.1
Published
Have you seen the similarities in the forms?Create forms with minimal code
Downloads
3
Readme
minimal-form code less set fast
just insert your fields data in structure
import EasyForm from "minimal-form";
export default function App() {
return (
<EasyForm
structure={{
name: { type: "string" },
password: { type: "password" },
}}
bottonText="submit"
onSubmit={(d) => console.log(d)}
/>
);
}
below code output this:
{
name: "data in input name",
password: "data in input password",
}