1.0.1 • Published 6 years ago
react-drag-drop-form-builder v1.0.1
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
- 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)