'use client' export interface PlaylistCardProps { id: string title: string description?: string coverUrl?: string songCount: number isPublic?: boolean onClick?: () => void } export function PlaylistCard({ id, title, description, coverUrl, songCount, isPublic = false, onClick }: PlaylistCardProps) { return (
{/* Cover Image */}
{coverUrl ? ( {title} ) : (
)} {/* Play Button Overlay */}
{/* Privacy Badge */} {!isPublic && (
Private
)}
{/* Playlist Info */}

{title}

{description && (

{description}

)}

{songCount} {songCount === 1 ? 'song' : 'songs'}

) }