import React from 'react'; export interface Attachment { id: number; file_name: string; file_path: string; } interface AttachmentsProps { attachments: Attachment[]; title?: string; className?: string; } export default function AttachmentsList({ attachments, title = "Załączniki", className = "" }: AttachmentsProps) { if (!attachments || attachments.length === 0) { return null; } return (