'use client' import { ArtistCard } from './ArtistCard' export interface ArtistRosterProps { artists: Array<{ id: string name: string user?: { avatarUrl?: string } _count?: { followers?: number } verified?: boolean }> isOwner?: boolean emptyMessage?: string onRemoveArtist?: (artistId: string) => void onArtistClick?: (artistId: string) => void } export function ArtistRoster({ artists, isOwner = false, emptyMessage = 'No artists signed yet', onRemoveArtist, onArtistClick }: ArtistRosterProps) { if (artists.length === 0) { return (

{emptyMessage}

) } return (
{artists.map((artist) => (
onArtistClick?.(artist.id)} /> {/* Remove Button (only visible for owners) */} {isOwner && onRemoveArtist && ( )}
))}
) }