\n {showCloseButton && (\n <>\n {/* A hidden button that steals the inital focus of the modal preventing the close icon from animating on modal open */}\n {/* eslint-disable-next-line jsx-a11y/control-has-associated-label */}\n \n\n \n >\n )}\n {children}\n
\n
\n
\n \n \n \n \n );\n};\n\nexport default Modal;\n","import { PropsWithChildren, useEffect, useMemo } from 'react';\nimport { createPortal } from 'react-dom';\n\ninterface Props {\n readonly mountId: string;\n}\n\nconst Portal = ({ mountId, children }: PropsWithChildren) => {\n const containerElement = useMemo(() => document.createElement('div'), []);\n\n useEffect(() => {\n document.getElementById(mountId)?.appendChild(containerElement);\n\n return () => {\n document.getElementById(mountId)?.removeChild(containerElement);\n };\n }, [mountId, containerElement]);\n\n return createPortal(children, containerElement);\n};\n\nexport default Portal;\n","import { IImageFullWidth } from '@models/IImageFullWidth';\nimport ImageLightBox from '@molecules/ImageLightBox/ImageLightBox';\nimport classNames from 'classnames';\n\nconst ImageFullWidth = (props: IImageFullWidth) => {\n // These props were null checked because this was causing an issue with the LocationMap Markers\n // not showing locally, even though this component was not added to the LocationMap page.\n // At some point it is worth checking this over and include the props as per other components\n const {\n anchorId = '',\n subTitle,\n title,\n meta,\n showImageOnTop,\n ...rest\n } = props ?? {};\n\n return (\n \n