"use client"; import { MessageSquare } from "lucide-react"; import { Sheet, SheetContent, SheetHeader, SheetTitle } from "@/components/ui/sheet"; import { cn } from "@/lib/utils"; import { CommentPanelContainer } from "../comment-panel-container/comment-panel-container"; import type { CommentSheetProps } from "./types"; export function CommentSheet({ messageId, isOpen, onOpenChange, commentCount = 0, side = "bottom", }: CommentSheetProps) { const isBottomSheet = side === "bottom"; return ( {/* Drag handle indicator - only for bottom sheet */} {isBottomSheet && (
)} Comments {commentCount > 0 && ( {commentCount} )}
); }