import { IconScribble } from '@tabler/icons-react' import { HoverCard, HoverCardContent, HoverCardTrigger } from '@/client/components/ui/hover-card' import type { StagedAttachment } from './types' import { AttachmentChip } from './attachment-chip' type DrawingAttachmentChipProps = { attachment: Extract onRemove: () => void } export function DrawingAttachmentChip({ attachment, onRemove }: DrawingAttachmentChipProps) { const { previewUrl, purpose } = attachment const label = purpose === 'sketch' ? 'Sketch' : 'Annotation' return ( } /> {previewUrl && ( {`${label} )} ) }