"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _react = _interopRequireDefault(require("react"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var CustomTooltip = function CustomTooltip(_ref) {
  var data = _ref.data;
  return /*#__PURE__*/_react["default"].createElement("div", {
    style: {
      padding: "10px",
      display: "flex",
      alignItems: "center"
    }
  }, /*#__PURE__*/_react["default"].createElement("div", {
    style: {
      width: "10px",
      height: "10px",
      background: data[0].color,
      borderRadius: "50%",
      marginRight: "4px"
    }
  }), data[0].name);
};

var _default = CustomTooltip;
exports["default"] = _default;