'use client' export interface ArtistCardProps { id: string name: string avatarUrl?: string followers?: number verified?: boolean onClick?: () => void } export function ArtistCard({ id, name, avatarUrl, followers = 0, verified = false, onClick }: ArtistCardProps) { const formatFollowers = (count: number) => { if (count >= 1000000) return `${(count / 1000000).toFixed(1)}M` if (count >= 1000) return `${(count / 1000).toFixed(1)}K` return count.toString() } return (
{formatFollowers(followers)} followers
)}