React JSONSchema
Create beautiful forms with JSONSchema Inspired by react-jsonschema-form from Mozilla.
Installation
$ npm install --save react-jsonschema
Usage
; const schema = "title": "Basic Demo" "type": "object" "properties": "firstName": "type": "string" "title": "First Name" "lastName": "type": "string" "title": "Last Name" "age": "type": "integer" "title": "Age" "description": "Age in years" ; const formData = firstName: '' lastName: '' age: ''; ReactDOM;
Contributing
- Clone the repository
- Install dependencies
With npm
:
$ npm install
With yarn
:
$ yarn
- Run tests:
npm t
References
License
MIT © Vu Tran