1.6.1 • Published 10 months ago
dfh-form-builder v1.6.1
dfh-form-generator npm library
$ npm install dfh-form-generatorBuild dfh-form-generator
$ npm install$ npm run buildUse yalc to local dev testing
Install yalc glabally:
$ npm i yalc -gInside dfh-form-generator project (to publish to yalc store):
$ yalc publishInside your react saas app (to install as node module):
$ yalc add dfh-form-builderUsage 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.\