'use client' export interface LabelCardProps { label: { id: string name: string logoUrl?: string description?: string _count?: { artists?: number } } showArtistCount?: boolean onClick?: (labelId: string) => void } export function LabelCard({ label, showArtistCount = true, onClick }: LabelCardProps) { const artistCount = label._count?.artists || 0 const handleClick = () => { if (onClick) { onClick(label.id) } } return (
{artistCount} {artistCount === 1 ? 'artist' : 'artists'}
)} {label.description && ({label.description}
)}