import { Button } from 'antd';
import React from 'react';
import Iconfont from "../../../../iconfont";
import "./index.less";
var prefix = 'pisell-lowcode-';
var DeleteButton = function DeleteButton(_ref) {
  var onDelete = _ref.onDelete;
  return /*#__PURE__*/React.createElement("div", {
    className: "".concat(prefix, "product-delete"),
    onClick: function onClick(e) {
      e.stopPropagation();
      onDelete();
    }
  }, /*#__PURE__*/React.createElement(Button, {
    type: "text",
    icon: /*#__PURE__*/React.createElement(Iconfont, {
      type: "pisell2-trash-01"
    })
  }));
};
export default DeleteButton;