import classNames from "classnames";
import React from "react";
import { AiIcon } from "./ai-icon.js";
import classes from "./toolbar-button-scss.js";
const ToolbarButton = ({
  toggle,
  showLabel
}) => {
  return /* @__PURE__ */ React.createElement(
    "span",
    {
      className: classNames(classes.button, {
        [classes.buttonWithLabel]: showLabel
      }),
      onClick: toggle
    },
    /* @__PURE__ */ React.createElement(AiIcon, null),
    " "
  );
};
export {
  ToolbarButton
};
//# sourceMappingURL=toolbar-button.js.map
