export*from"@vaadin/dialog/vaadin-dialog.js";import{forwardRef as E}from"react";import{Dialog as D}from"@vaadin/dialog/vaadin-dialog.js";import*as R from"react";import{createComponent as c}from"./utils/createComponent.js";var y={onClosed:"closed",onDragStart:"drag-start",onDragged:"dragged",onOpenedChanged:"opened-changed",onResize:"resize",onResizeStart:"resize-start"},o=c({elementClass:D,events:y,react:R,tagName:"vaadin-dialog"});import{useSimpleOrChildrenRenderer as r}from"./renderers/useSimpleOrChildrenRenderer.js";import{jsxs as v}from"react/jsx-runtime";function f({children:t,footer:a,header:n,...e},l){let[d,i]=r(e.footerRenderer,a),[p,g]=r(e.headerRenderer,n),[s,m]=r(e.renderer,t);return v(o,{...e,ref:l,footerRenderer:i,headerRenderer:g,renderer:m,children:[p,d,s]})}var _=E(f);export{_ as Dialog,D as DialogElement};
//# sourceMappingURL=Dialog.js.map
