View on GitHub

Emptyform

A form written in React JS to use as a wrapper.

Download this project as a .zip file Download this project as a tar.gz file

EmptyForm

ReactJS Form.

NPM

It creates a generic wrapper for the form. So you need to add the content of the inside form, from another React Component.

EmptyForm will create the shell. Take a look at ExampleForm to create your own form. Take a look too, on how to call the content for the shell:

< EmptyForm insideForm={ < ContentInside /> } invalidFormAction="" submitValue="Publish it!" submitAction={this.submit}/>

The submit method, will be on the wrapper, for the Empty Form, so you can hit a service or do whatever you need.

Params:

To start the example: