Sha256: ed70ef3acec5caf19c206f728edafe6cf0ac6238d733c9498e5faa050ea70e93
Contents?: true
Size: 608 Bytes
Versions: 58
Compression:
Stored size: 608 Bytes
Contents
import React from 'react'; import Immutable from 'seamless-immutable'; import PropTypes from 'prop-types'; import './AnsibleHostInventory.scss'; import ReportJsonViewer from '../../../ReportJsonViewer'; const AnsibleHostInventory = ({ inventoryData }) => { const mutableInventory = inventoryData && Immutable.asMutable(inventoryData, { deep: true }); return ( <div className="ansible-host-inventory"> <ReportJsonViewer data={mutableInventory} /> </div> ); }; AnsibleHostInventory.propTypes = { inventoryData: PropTypes.object.isRequired, }; export default AnsibleHostInventory;
Version data entries
58 entries across 58 versions & 1 rubygems