Sha256: 10159059ac9c34b2be08c803ef61206dbb483409d74b90761f374ca9f275079b
Contents?: true
Size: 466 Bytes
Versions: 30
Compression:
Stored size: 466 Bytes
Contents
import React from 'react'; import JSONTree from 'react-json-tree'; import PropTypes from 'prop-types'; const theme = { scheme: 'foreman', backgroundColor: 'rgba(0, 0, 0, 255)', base00: 'rgba(0, 0, 0, 0)', }; const ReportJsonViewer = ({ data }) => ( <div className="report-json-viewer"> <JSONTree data={data} hideRoot theme={theme} /> </div> ); ReportJsonViewer.propTypes = { data: PropTypes.object.isRequired, }; export default ReportJsonViewer;
Version data entries
30 entries across 30 versions & 1 rubygems