import e from"../../node_modules/lodash/isNil.js";import t from"react";import o from"../Text/Text.js";import{Dialog as l,DialogContent as a,DialogHeader as i,DialogTitle as r,DialogFooter as n}from"../../node_modules/@cortexapps/react-plugin-ui/dist/index.js";const d=({children:d,disablePadding:s=!1,disableScrolling:m=!1,error:g,footer:p,height:c,isOpen:h,maxWidth:x=!1,size:u="md",title:f,toggleModal:E})=>t.createElement(l,{open:h,onOpenChange:E},t.createElement(a,{style:{height:c?`${c}px`:void 0,maxWidth:x?"600px":void 0,padding:s?0:8}},t.createElement(i,null,t.createElement(r,null,f)),!e(g)&&t.createElement(o,{legacyColor:"danger"},g),d,p&&t.createElement(n,null,p)));export{d as default};
//# sourceMappingURL=Modal.js.map
