Thiht / react-json-ui

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 77.3%Language:HTML 12.0%Language:CSS 10.7%