dfh-form-generator
v1.2.121
Published
```sh $ npm install dfh-form-generator ```
Downloads
276
Readme
dfh-form-generator npm library
$ npm install dfh-form-generator
Build dfh-form-generator
$ npm install
$ npm run build
Use yalc to local dev testing
Install yalc glabally:
$ npm i yalc -g
Inside dfh-form-generator project (to publish to yalc store):
$ yalc publish
Inside your react saas app (to install as node module):
$ yalc add dfh-form-generator
Usage dfh-form-generator
$ <FormGenerator formSchema={schema} components={components} handleSubmit={handleSubmit} ></FormGenerator>
schema
is a object which includes information about the form.\
components
are the react components which are fiels of the form.\
handleSubmit
is the function which handle the submit event of the form.\