JSPM

  • Created
  • Published
  • Downloads 523882
  • Score
    100M100P100Q172567F
  • License MIT

React JSON Viewer Component, Extracted from redux-devtools

Package Exports

  • react-json-tree

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-json-tree) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-json-tree

React JSON Viewer Component, Extracted from redux-devtools

Usage

import JSONTree from 'react-json-tree'

// Inside a React component:
const json = {
  array: [1, 2, 3],
  bool: true,
  object: {
    foo: 'bar'
  }  
}

<JSONTree data={ json } />

Result:

Credits

License

MIT