veza/apps/web/src/features/tracks/components/comments/CommentSectionHeader.tsx
senke 65e8a69db2 refactor(comments): modularize CommentSection with atomic sub-components
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 07:32:37 +01:00

22 lines
552 B
TypeScript

import { MessageCircle } from 'lucide-react';
import { CardHeader, CardTitle } from '@/components/ui/card';
import { cn } from '@/lib/utils';
export interface CommentSectionHeaderProps {
count: number;
className?: string;
}
export function CommentSectionHeader({
count,
className,
}: CommentSectionHeaderProps) {
return (
<CardHeader className={cn(className)}>
<CardTitle className="flex items-center gap-2">
<MessageCircle className="h-5 w-5" />
Commentaires ({count})
</CardTitle>
</CardHeader>
);
}