import e from"react";var d=({isOpen:t,toggleModal:o,children:a,overlayProps:l,modalProps:i})=>t?e.createElement("div",{className:"fixed inset-0 flex items-center justify-center z-100 gap-3"},e.createElement("div",{className:"absolute inset-0 bg-black opacity-50",onClick:o,...l}),e.createElement("div",{className:"rounded-lg p-4 z-50 max-w-md w-full bg-background-secondary",...i},a)):null;export{d as Modal};
//# sourceMappingURL=Modal.mjs.map