import { jsx as l } from "react/jsx-runtime";
import { useCallback as i } from "react";
import o from "../../../tooltip/Tooltip.js";
import { ToggleGroupItem as r } from "../../../toggle-group/TogglePrimitive.js";
const n = ({ onAction: e }) => {
  const t = i(
    (a) => {
      a.preventDefault(), e("insertTable");
    },
    [e]
  );
  return /* @__PURE__ */ l(o, { content: "Tabelle einfügen", asChild: !0, children: /* @__PURE__ */ l(r, { value: "insertTable", icon: "Table2", "aria-label": "Tabelle einfügen", "data-action": "insertTable", onClick: t }) });
};
n.displayName = "HtmlEditorTableAction";
export {
  n as default
};
//# sourceMappingURL=HtmlEditorTableAction.js.map
