import React from 'react'; import { ListView } from 'patternfly-react'; import PropTypes from 'prop-types'; import ListItemStatus from '../ListItemStatus'; import Dashboard from '../../../Dashboard'; const ListItem = ({ accountID, account, initExpanded }) => ( } heading={account.label} additionalInfo={[ , ]} stacked hideCloseIcon initExpanded={initExpanded} > ); ListItem.propTypes = { accountID: PropTypes.string.isRequired, account: PropTypes.shape({ generate_report_status: PropTypes.string, upload_report_status: PropTypes.string, label: PropTypes.string, }), initExpanded: PropTypes.bool, }; ListItem.defaultProps = { account: { generate_report_status: 'unknown', upload_report_status: 'unknown', label: 'default_org_name', }, initExpanded: false, }; export default ListItem;