export*from"@vaadin/popover/vaadin-popover.js";import{forwardRef as v}from"react";import{Popover as d}from"@vaadin/popover/vaadin-popover.js";import*as s from"react";import{createComponent as P}from"./utils/createComponent.js";var m={onClosed:"closed",onOpenedChanged:"opened-changed"},r=P({elementClass:d,events:m,react:s,tagName:"vaadin-popover"});import{useSimpleOrChildrenRenderer as i}from"./renderers/useSimpleOrChildrenRenderer.js";import{issueWarning as t}from"./utils/warnings.js";import{jsx as c}from"react/jsx-runtime";function l({children:o,...e},p){e.renderer&&t("<Popover>: Using the renderer prop is deprecated. Pass children directly to the component instead."),typeof o=="function"&&t("<Popover>: Passing a component type as children is deprecated. Pass children directly to the component instead.");let[n,a]=i(e.renderer,o);return c(r,{...e,ref:p,renderer:a,children:n})}var M=v(l);export{M as Popover,d as PopoverElement};
//# sourceMappingURL=Popover.js.map
