import { jsxs as p, jsx as r } from "react/jsx-runtime";
import * as o from "@radix-ui/react-popover";
import { zIndexLayers as m } from "../../helpers/zIndexLayers.es.js";
function s({ control: e, isOpen: n, setIsOpen: t, children: i }) {
  return /* @__PURE__ */ p(o.Root, { open: n, onOpenChange: t, children: [
    /* @__PURE__ */ r(o.Trigger, { asChild: !0, children: e }),
    /* @__PURE__ */ r(o.Portal, { children: /* @__PURE__ */ r(o.Content, { style: { zIndex: m.emojiPopover }, children: i }) })
  ] });
}
export {
  s as EmojiToolbarDropdown
};
//# sourceMappingURL=EmojiToolbarDropdown.es.js.map
