1.1.1 • Published 6 years ago

zubair-react-form-builder v1.1.1

Weekly downloads
18
License
MIT
Repository
github
Last release
6 years ago

npm package Build Status

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

npm.io

npm.io

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