function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
import React from "react";
import DotsVertical from "@pisell/icon/es/DotsVertical";
import { Dropdown } from "antd";
import "./index.less";
import classNames from "classnames";
var MenuButton = function MenuButton(_ref) {
  var menuWrapClassName = _ref.menuWrapClassName,
    menuWrapStyle = _ref.menuWrapStyle,
    dropdownProps = _ref.dropdownProps;
  return /*#__PURE__*/React.createElement(Dropdown, _extends({
    placement: "bottomRight"
  }, dropdownProps), /*#__PURE__*/React.createElement("div", {
    className: classNames("pisell-lowcode__custom-select-card-menu-wrap", menuWrapClassName),
    style: menuWrapStyle
  }, /*#__PURE__*/React.createElement(DotsVertical, {
    className: "pisell-lowcode__custom-select-card-menu-icon"
  })));
};
export default MenuButton;