import React from "react";
import { Tooltip } from "./../../wix-rich-content-common/lib/tooltip.js";
const ToolbarButton = ({
  tooltipText,
  button,
  tooltipOffset = { y: -20, x: 0 }
}) => {
  return /* @__PURE__ */ React.createElement(Tooltip, { key: tooltipText, content: tooltipText, tooltipOffset }, button);
};
export {
  ToolbarButton
};
//# sourceMappingURL=toolbar-button.js.map
