import React from "react";
import {
  TextSelectionToolbar,
  TwitterButton
} from "./../text-selection-toolbar/index.js";
const SelectionToolbar = ({ onButtonClick, container }) => {
  return /* @__PURE__ */ React.createElement(TextSelectionToolbar, { container }, (selectedText) => /* @__PURE__ */ React.createElement(
    TwitterButton,
    {
      selectedText,
      onClick: (selectedText2) => onButtonClick?.("TWITTER", "Click", selectedText2)
    }
  ));
};
var text_selection_toolbar_default = SelectionToolbar;
export {
  text_selection_toolbar_default as default
};
//# sourceMappingURL=text-selection-toolbar.js.map
