0.1.7 • Published 4 years ago

format2json2view v0.1.7

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Format2Json2View

Format2Json2View is a React component for displaying JSON objects.Supports automatically formatting json format strings into json.

Installation Instructions

Install this component with NPM.

npm install --save format2json2view

Or add to your package.json config file:

"dependencies": {
    "format2json2view": "latest"
}

Implementation Example

Json type

// import the Format2Json2View component
import ReactJson from 'Format2Json2View'

const json = {a:1,b:true,c:'c'}

// use the component in your app!
<Format2Json2View data={json}/>

Json format string

// import the Format2Json2View component
import ReactJson from 'Format2Json2View'

const jsonStr = "{'a':1,'b':true}"

// use the component in your app!
<Format2Json2View data={json}/>

Props

NameTypeDescription
datajson objectSupports formatting json format strings

TODO

  • remove create-react-app
  • rewrite webpack
0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago