import { j as r } from "../../node_modules/react/jsx-runtime.mjs";
import p from "../../node_modules/antd/es/config-provider/index.mjs";
import m from "../../node_modules/antd/es/space/index.mjs";
import n from "../../node_modules/antd/es/button/button.mjs";
const j = ({ configProvider: t, record: a = {}, operations: i = [], tableOperationEmit: o = () => {
}, ...s }) => /* @__PURE__ */ r.jsx(p, { ...t, children: /* @__PURE__ */ r.jsx("div", { className: "bitzTableOperationsBlock", ...s, children: /* @__PURE__ */ r.jsx(m, { children: i.map((e, l) => /* @__PURE__ */ r.jsx(
  n,
  {
    className: `${(e == null ? void 0 : e.className) || ""}`,
    type: e.type == "edit" ? "primary" : "default",
    danger: e.type == "delete",
    onClick: () => {
      o(e.type, a);
    },
    children: e.label
  },
  l
)) }) }) });
export {
  j as default
};
