diff --git a/README.md b/README.md index 668352b..e664975 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,54 @@ - Typescript compatible - Customizable extractor, validator, getter and setters. (More in the docs) -- No Deps +- **0** Dependencies - Tiny - React Hooks +###### Installation + +``` +npm i formhero +``` + ## 🚀 Quickstart ```typescript import ReactDOM from 'react-dom' import { useForm } from 'formhero' +const Form = () => { + + const { auto, form } = useForm({ + username: '', + password: '', + }) + + const _submit = (e: React.FormEvent) => { + e.preventDefault() + console.log(form) + } + + return ( +