import styled from '@emotion/styled'; import type {Location} from 'history'; import {Button, LinkButton} from 'sentry/components/button'; import Collapsible from 'sentry/components/collapsible'; import IdBadge from 'sentry/components/idBadge'; import {extractSelectionParameters} from 'sentry/components/organizations/pageFilters/utils'; import * as SidebarSection from 'sentry/components/sidebarSection'; import {t, tn} from 'sentry/locale'; import {space} from 'sentry/styles/space'; import type {Organization} from 'sentry/types/organization'; import type {ReleaseProject} from 'sentry/types/release'; type Props = { location: Location; organization: Organization; projects: ReleaseProject[]; version: string; }; function OtherProjects({projects, location, version, organization}: Props) { return ( {tn( 'Other Project for This Release', 'Other Projects for This Release', projects.length )} ( )} > {projects.map(project => ( {t('View')} ))} ); } const Row = styled('div')` display: grid; grid-template-columns: 1fr max-content; align-items: center; justify-content: space-between; margin-bottom: ${space(0.75)}; font-size: ${p => p.theme.fontSizeMedium}; @media (min-width: ${p => p.theme.breakpoints.medium}) and (max-width: ${p => p.theme.breakpoints.large}) { grid-template-columns: 200px max-content; } `; export default OtherProjects;