import React from 'react'; import { useI18nContext } from '../../../hooks/useI18nContext'; import Box from '../../ui/box/box'; import Typography from '../../ui/typography/typography'; import { TypographyVariant, Color, BLOCK_SIZES, DISPLAY, AlignItems, IconColor, } from '../../../helpers/constants/design-system'; import { BETA_BUGS_URL } from '../../../helpers/constants/beta'; import { hideBetaHeader } from '../../../store/actions'; import { ButtonIcon } from '../../component-library/button-icon/deprecated'; import { ICON_NAMES, ICON_SIZES, } from '../../component-library/icon/deprecated'; const BetaHeader = () => { const t = useI18nContext(); return ( {t('betaHeaderText', [ {t('here')} , ])} { hideBetaHeader(); }} aria-label={t('close')} /> ); }; export default BetaHeader;