import { More } from "@wix/wix-ui-icons-common";
import React, { forwardRef, useContext } from "react";
import { RicosContext } from "./../../../../ricos-context/index.js";
import { ToolbarButton } from "./../../../../_shared/toolbar-button/toolbar-button.js";
import { MoreButtonDataHook } from "./data-hooks.js";
const MoreButton = forwardRef(
  ({ onClick, shouldShowMore }, ref) => {
    const { t } = useContext(RicosContext);
    return /* @__PURE__ */ React.createElement(
      ToolbarButton,
      {
        ref,
        tooltip: t("MoreButton_Tooltip"),
        active: shouldShowMore,
        onClick,
        prefix: More,
        dataHook: MoreButtonDataHook,
        tabIndex: -1
      }
    );
  }
);
export {
  MoreButton
};
//# sourceMappingURL=more-button.js.map
