import { jsx as o } from "react/jsx-runtime";
import { getPluginType as i } from "@udecode/plate-core";
import { MarkToolbarButton as m } from "../MarkToolbarButton.es.js";
import { getHotkeyByPlatform as p } from "../../../helpers/getHotkeyByPlatform.es.js";
import { getTooltip as e } from "../../../helpers/getTooltip.es.js";
import l from "../../../../../foundation/Icon/Generated/IconTextFormatItalic16.es.js";
import { ButtonWrapper as n, IconStylingWrapper as a } from "../../helper.es.js";
const B = ({ editor: r, id: t }) => /* @__PURE__ */ o(n, { id: t, children: /* @__PURE__ */ o(
  m,
  {
    tooltip: e(`Italic
${p("Ctrl+I")}`),
    nodeType: i(r, t),
    children: /* @__PURE__ */ o(a, { icon: /* @__PURE__ */ o(l, {}) })
  }
) });
export {
  B as ItalicButton
};
//# sourceMappingURL=ItalicButton.es.js.map
