1.1.6 • Published 5 years ago

menouer-react-form-builder v1.1.6

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

npm package Build Status

Menouer React From Builder

Menouer 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

full credits go to : https://www.npmjs.com/~zubair.paizer original package: https://www.npmjs.com/package/zubair-react-form-builder