1.0.1 • Published 2 years ago
minimal-form v1.0.1
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",
}