import {t} from 'sentry/locale'; import {IssueAttachment} from 'sentry/types'; import GroupEventAttachmentsTableRow from 'sentry/views/organizationGroupDetails/groupEventAttachments/groupEventAttachmentsTableRow'; type Props = { attachments: IssueAttachment[]; deletedAttachments: string[]; groupId: string; onDelete: (attachmentId: string) => void; orgId: string; projectId: string; }; const GroupEventAttachmentsTable = ({ attachments, orgId, projectId, 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;