mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
17 lines
478 B
JavaScript
17 lines
478 B
JavaScript
import React from 'react';
|
|
|
|
import { formatMetric } from '../../utils/string-utils';
|
|
|
|
function NodeDetailsHealthOverflowItem(props) {
|
|
return (
|
|
<div className="node-details-health-overflow-item">
|
|
<div className="node-details-health-overflow-item-value">
|
|
{formatMetric(props.value, props)}
|
|
</div>
|
|
<div className="node-details-health-overflow-item-label truncate">{props.label}</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default NodeDetailsHealthOverflowItem;
|