"use strict";

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

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

var _core = require("@material-ui/core");

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

var TooltipWrapper = function TooltipWrapper(_ref) {
  var children = _ref.children,
      tooltipText = _ref.tooltipText,
      className = _ref.className;
  return /*#__PURE__*/_react.default.createElement("div", {
    className: "oec-tooltip-wrapper"
  }, /*#__PURE__*/_react.default.createElement(_core.Tooltip, {
    title: tooltipText
  }, /*#__PURE__*/_react.default.createElement("div", {
    className: className
  }, children)));
};

exports.TooltipWrapper = TooltipWrapper;