import e from"react";import{Modal as t,ModalOverlay as l,ModalContent as n,ModalHeader as o,ModalCloseButton as a,ModalBody as r,ModalFooter as m}from"../../../node_modules/@chakra-ui/modal/dist/esm/modal.js";import{useDisclosure as c}from"../../../node_modules/@chakra-ui/hooks/dist/esm/use-disclosure.js";import{Button as i}from"../../../node_modules/@chakra-ui/button/dist/esm/button.js";export default function(s){var u=s.modalTriggerButton,d=s.modalTriggerButtonClassName,E=s.modalTitle,h=s.children,g=s.modalSize,p=void 0===g?"lg":g,f=s.ActionButton,k=s.ActionButtonLabel,b=s.ActionButtonColorScheme,C=void 0===b?"gray":b,v=c(),B=v.isOpen,_=v.onOpen,j=v.onClose;return e.createElement(e.Fragment,null,e.createElement("div",null,e.createElement("div",{className:d,onClick:_},u),e.createElement(t,{onClose:j,size:p,isOpen:B},e.createElement(l,null),e.createElement(n,null,e.createElement(o,null,E),e.createElement(a,null),e.createElement(r,null,h),f?e.createElement(m,null,e.createElement(i,{colorScheme:C,onClick:j},k)):""))),e.createElement("style",{jsx:!0},"\n        :global(.chakra-modal__close-btn:focus) {\n          outline: none;\n          box-shadow: none;\n        }\n      "))}
//# sourceMappingURL=Modal.js.map
