import styled from '@emotion/styled'; import ExternalLink from 'sentry/components/links/externalLink'; import List from 'sentry/components/list'; import {t, tct} from 'sentry/locale'; import {space} from 'sentry/styles/space'; import ModalManager from '../modalManager'; import Item from './item'; import Terminal from './terminal'; class Add extends ModalManager { getTitle() { return t('Register Key'); } getBtnSaveLabel() { return t('Register'); } getData() { const {savedRelays} = this.props; const trustedRelays = [...savedRelays, this.state.values]; return {trustedRelays}; } getContent() { return ( ), })} subtitle={t('Within your terminal:')} > ), } )} > {super.getForm()} ); } } export default Add; const StyledList = styled(List)` display: grid; gap: ${space(3)}; `;