{
    "componentChunkName": "component---src-pages-api-modal-mdx",
    "path": "/api/modal/",
    "result": {"pageContext":{"frontmatter":{"pageTitle":"Modal API","title":"Modal","props":["ModalProps"]},"properties":[{"name":"ModalProps","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"tags":[{"tag":"children","text":"required\n"}]},"id":"ModalProps","tags":{"children":"required"},"properties":{"ariaLabel":{"name":"ariaLabel","required":false,"type":{"name":"string"},"description":"Custom aria label ONLY for modals that do not have a header","deprecated":false},"children":{"name":"children","required":true,"type":{"name":"ReactNode | undefined"},"description":"The content of the component","deprecated":false},"closeAriaLabel":{"name":"closeAriaLabel","required":false,"type":{"name":"string"},"description":"The text read by screen readers for the close button","defaultValue":"\"Close dialog\"","deprecated":false},"closeButtonSize":{"name":"closeButtonSize","required":false,"type":{"name":"function"},"description":"Style for the modal container","deprecated":false},"containerStyle":{"name":"containerStyle","required":false,"type":{"name":"CSSProperties"},"description":"Style for the modal container","deprecated":false},"header":{"name":"header","required":false,"type":{"name":"React.ReactNode"},"description":"The content of the modal header","deprecated":false},"headerLevel":{"name":"headerLevel","required":false,"type":{"name":"1 | 2 | 3 | 4 | 5 | 6"},"description":"Number to indicate which level heading will render (e.g. h1, h2 etc.)","deprecated":false},"headerRef":{"name":"headerRef","required":false,"type":{"name":"function"},"description":"Function that returns reference for the header","deprecated":false},"isBackgroundClickDisabled":{"name":"isBackgroundClickDisabled","required":false,"type":{"name":"boolean"},"description":"If true, clicking the backdrop will not dismiss the modal","defaultValue":"false","deprecated":false},"isCloseButtonHidden":{"name":"isCloseButtonHidden","required":false,"type":{"name":"boolean"},"description":"If true, the close button the modal will be suppressed","defaultValue":"false","deprecated":false},"isEscKeyDownDisabled":{"name":"isEscKeyDownDisabled","required":false,"type":{"name":"boolean"},"description":"If true, pressing the Escape key will not dismiss the modal","deprecated":false},"isInverse":{"name":"isInverse","required":false,"type":{"name":"boolean"},"description":"If true, the component will have inverse styling to better appear on a dark background","defaultValue":"false","deprecated":false},"isModalClosingControlledManually":{"name":"isModalClosingControlledManually","required":false,"type":{"name":"boolean"},"description":"If true, closing the modal handled on the consumer side","defaultValue":"false","deprecated":false},"isOpen":{"name":"isOpen","required":false,"type":{"name":"boolean"},"description":"If true, the modal will be visible","defaultValue":"false","deprecated":false},"onClose":{"name":"onClose","required":false,"type":{"name":"function"},"description":"Action that fires when the close button is clicked","deprecated":false},"onEscKeyDown":{"name":"onEscKeyDown","required":false,"type":{"name":"function"},"description":"Action that fires when the Escape key is pressed","deprecated":false},"portalContainer":{"name":"portalContainer","required":false,"type":{"name":"HTMLElement | null"},"description":"DOM element to portal the modal into. Defaults to `document.body`.\nUseful when the modal must render inside a specific subtree, such as\nwhen the parent element has been put into the browser's fullscreen mode\n(only DOM within the fullscreen element is rendered by the browser).","deprecated":false},"size":{"name":"size","required":false,"type":{"name":"enum","options":["ModalSize.large","ModalSize.medium","ModalSize.small"]},"description":"The relative size of the modal","defaultValue":"ModalSize.medium","deprecated":false},"unmountOnExit":{"name":"unmountOnExit","required":false,"type":{"name":"boolean"},"description":"If true, the modal will removed from the DOM when closed","defaultValue":"true","deprecated":false}}}]}},
    "staticQueryHashes": ["1677184369","599903803"]}