import React from 'react';

import metricFeeder from '../../hoc/metric-feeder';
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 metricFeeder(NodeDetailsHealthOverflowItem);

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;

Remove the metricFeeder for the overflow items too for now.
Remove the metricFeeder for the overflow items too for now.
