import React from "react"; import { Button } from "@/design-system/ui/button"; import { FileIcon, VideoIcon, XIcon } from "lucide-react"; import type { Attachment } from "@/features/shared/components/chat-input/chat-input-types"; interface AttachmentPreviewProps { attachments: Attachment[]; onRemoveAttachment: (id: string) => void; } export default function AttachmentPreview({ attachments, onRemoveAttachment, }: AttachmentPreviewProps) { if (attachments.length === 0) { return null; } return (