Sha256: c846c999b7b02dcbbd690f3e54f02bdc84c93b3841514fb20a6b72c971ac34e2
Contents?: true
Size: 477 Bytes
Versions: 28
Compression:
Stored size: 477 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={this.props.data} hideRoot theme={theme} /> </div> ); ReportJsonViewer.propTypes = { data: PropTypes.object.isRequired, }; export default ReportJsonViewer;
Version data entries
28 entries across 28 versions & 1 rubygems