import styled from '@emotion/styled'; import Button, {ButtonPropsWithAriaLabel} from 'sentry/components/button'; import {IconClose} from 'sentry/icons/iconClose'; import {t} from 'sentry/locale'; import space from 'sentry/styles/space'; const ModalHeader = styled('header')` position: relative; border-bottom: 1px solid ${p => p.theme.border}; padding: ${space(3)} ${space(3)}; margin: -${space(4)} -${space(2)} ${space(3)} -${space(3)}; @media (min-width: ${p => p.theme.breakpoints.medium}) { padding: ${space(3)} ${space(4)}; margin: -${space(4)} -${space(4)} ${space(3)} -${space(4)}; } h1, h2, h3, h4, h5, h6 { font-size: 20px; font-weight: 600; margin-bottom: 0; line-height: 1.1; } `; const CloseButton = styled((p: ButtonPropsWithAriaLabel) => (