import {t} from 'sentry/locale'; import type {IssueAttachment} from 'sentry/types'; import GroupEventAttachmentsTableRow from 'sentry/views/issueDetails/groupEventAttachments/groupEventAttachmentsTableRow'; type Props = { attachments: IssueAttachment[]; deletedAttachments: string[]; groupId: string; onDelete: (attachmentId: string) => void; orgId: string; projectSlug: string; }; function GroupEventAttachmentsTable({ attachments, orgId, projectSlug, groupId, onDelete, deletedAttachments, }: Props) { const tableRowNames = [t('Name'), t('Type'), t('Size'), t('Actions')]; return ( {tableRowNames.map(name => ( ))} {attachments.map(attachment => ( attachment.id === id)} /> ))}
{name}
); } export default GroupEventAttachmentsTable;