1.0.1 • Published 5 years ago

react-drag-drop-form-builder v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

React From Builder

React Form Builder help you to build forms with drag and drop you can also inject your own component.

Installation

FormContainer Props

  1. custom : Array
  2. onSave(form) : Function
  3. updateForm(callback) : Function
  4. updateOnMount : Boolean
  5. debug : Boolean
  6. loader: Boolean // set save button on loading state

// Note OnSave Props also turn on Save Button on <FormContainer />

ToolBox Props

  1. custom : Array

Example

You can pass custom components to the form builder

Required Props Methods Of Custom Component

  1. this.props.changeState(state, this.props.index)

  2. this.props.removeField(index)

Example Props Methods