import { jsx as o } from "react/jsx-runtime";
import { getPluginType as p } from "@udecode/plate-core";
import { MarkToolbarButton as e } from "../MarkToolbarButton.es.js";
import { getTooltip as i } from "../../../helpers/getTooltip.es.js";
import { ButtonWrapper as m, IconStylingWrapper as n } from "../../helper.es.js";
import c from "../../../../../foundation/Icon/Generated/IconTextBrackets16.es.js";
const u = ({ editor: t, id: r }) => /* @__PURE__ */ o(m, { id: r, children: /* @__PURE__ */ o(e, { tooltip: i("Code"), nodeType: p(t, r), children: /* @__PURE__ */ o(n, { icon: /* @__PURE__ */ o(c, {}) }) }) });
export {
  u as CodeButton
};
//# sourceMappingURL=CodeButton.es.js.map
