@frontify/fondue
Version:
Design system of Frontify
12 lines (11 loc) • 727 B
JavaScript
import { jsx as o } from "react/jsx-runtime";
import { getPluginType as i } from "@udecode/plate-core";
import { MarkToolbarButton as p } from "../MarkToolbarButton.es.js";
import { getTooltip as e } from "../../../helpers/getTooltip.es.js";
import m from "../../../../../foundation/Icon/Generated/IconTextFormatStrikethrough.es.js";
import { ButtonWrapper as n, IconStylingWrapper as h } from "../../helper.es.js";
const T = ({ editor: t, id: r }) => /* @__PURE__ */ o(n, { id: r, children: /* @__PURE__ */ o(p, { tooltip: e("Strikethrough"), nodeType: i(t, r), children: /* @__PURE__ */ o(h, { icon: /* @__PURE__ */ o(m, {}) }) }) });
export {
T as StrikethroughButton
};
//# sourceMappingURL=StrikethroughButton.es.js.map