import React from 'react';
import { ListView, Grid, Icon } from 'patternfly-react';
import PropTypes from 'prop-types';
import './foreman_leapp.scss';
import {
itemIteratorId,
presentSeverity,
hasRemediations,
getExternals,
getRemediations,
getTitle,
getSeverity,
getSummary,
getTags,
} from './helpers';
const PreupgradeReportEntry = ({ entry }) => (
}
description={entry.title}
additionalInfo={[
{entry.hostname}
,
{entry.severity}
,
hasRemediations(entry),
]}
>
{getTitle(entry)}
{getSeverity(entry)}
{getSummary(entry)}
{getTags(entry)}
{getExternals(entry)}
{getRemediations(entry)}
);
PreupgradeReportEntry.propTypes = {
entry: PropTypes.object.isRequired,
};
export default PreupgradeReportEntry;