Skip to content

Thiht/react-json-ui

Repository files navigation

react-json-ui NPM Netlify Status

Generate user interface from arbitrary JSON

Install

npm install --save react-json-ui

Usage

import React, { Component } from 'react'

import JSONUI from 'react-json-ui'
import 'react-json-ui/dist/index.css'

class Example extends Component {
  render() {
    return (
      <JSONUI
        data={{
          foo: 'bar',
        }}
      />
    )
  }
}

react-json-ui

Copyright © 2020 Thibaut Rousseau

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

About

Render any arbitrary JSON. This is just a Proof of Concept for now.

Resources

License

Stars

Watchers

Forks