"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

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

var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));

var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));

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

var _components = require("@alicloudfe/components");

var _classnames = _interopRequireDefault(require("classnames"));

var BDesignBalloon = function BDesignBalloon(props) {
  var className = props.className,
      _props$closable = props.closable,
      closable = _props$closable === void 0 ? false : _props$closable,
      rest = (0, _objectWithoutProperties2.default)(props, ["className", "closable"]);
  return /*#__PURE__*/_react.default.createElement(_components.Balloon, (0, _extends2.default)({
    className: (0, _classnames.default)(className, {}),
    closable: closable
  }, rest));
};

BDesignBalloon.Tooltip = _components.Balloon.Tooltip;
var _default = BDesignBalloon;
exports.default = _default;