zubair-react-form-builder
v1.1.1
Published
[![npm package](https://img.shields.io/badge/npm-1.1.0-green.svg?style=flat-square)](https://www.npmjs.com/package/zubair-react-form-builder) [![Build Status](https://img.shields.io/circleci/project/github/RedSparr0w/node-csgo-parser.svg)](https://www.np
Downloads
60
Maintainers
Readme
Zubair React From Builder
Zubair React Form Builder help you to build forms with drag and drop you can also inject your own component.
Installation
FormContainer Props
- custom : Array
- onSave(form) : Function
- updateForm(callback) : Function
- updateOnMount : Boolean
- debug : Boolean
- loader: Boolean // set save button on loading state
// Note OnSave Props also turn on Save Button on <FormContainer />
ToolBox Props
- custom : Array
Example
You can pass custom components to the form builder
Required Props Methods Of Custom Component
this.props.changeState(state, this.props.index)
this.props.removeField(index)