import React from 'react'; import Graph from './Graph.js'; import './Service.css'; const Service = ({ graph, name, status, latency, description }) => (
{status ? '✅' : '🚫'}

{name} {latency ? ( {latency} ms ) : null}

{description}

{graph ? : null}
); export default Service;