Skip to content

Lincerossa/form-one

Repository files navigation

👋🏻 Welcome to FORM-ONE

Why?

form-one is built onto the react-hook-form library (V6) (which is an amazing library itself 🦄). form-one it is an abstraction of the react-hook-form library. form-one let you focusing just on the form api interface, which is really simple.

How?

The ui is made with ❤️ using the antd library and the core is built abstracting the react-hook-form library.

How to use form-one?

You can use form-one in React apps by just installing it

  npm i form-one
  import FormOne from 'form-one'

Why it is so simple?

These are the available props:

  <FormOne
    onChange
    onSubmit
    inputs
    layout
    validationSchema
    initialValues
  />

Let's have a look about how it works in a real demo, by visiting it's playground in Codesandbox or its storybook

About

react-hook-form implementation, controlled form, antd design, react, react-hooks

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published