import styled from '@emotion/styled'; import {Alert} from 'sentry/components/alert'; import {t} from 'sentry/locale'; import type {OrganizationSummary} from 'sentry/types'; type Props = { organizations: OrganizationSummary[]; }; function UnlinkedAlert({organizations}: Props) { return ( {t( 'You\'ve selected Slack as your delivery method, but do not have a linked account for the following organizations. You\'ll receive email notifications instead until you type "/sentry link" into your Slack workspace to link your account. If slash commands are not working, please re-install the Slack integration.' )} ); } const StyledAlert = styled(Alert)` margin: 20px 0px; `; export default UnlinkedAlert;