'use client'; import { SplitSide } from '@git-diff-view/react'; import { Button } from '@kandev/ui/button'; import { Badge } from '@kandev/ui/badge'; import { IconTrash } from '@tabler/icons-react'; import type { DiffComment } from './types'; interface CommentRendererProps { comment: DiffComment; onDelete: (id: string) => void; } export function CommentRenderer({ comment, onDelete }: CommentRendererProps) { const isSingleLine = comment.startLine === comment.endLine; return (