import type { LucideIcon } from "lucide-react"
import { Avatar, AvatarFallback } from "@/components/ui/avatar"
import { Card, CardContent } from "@/components/ui/card"
import { Skeleton } from "@/components/ui/skeleton"
import { EmptyState } from "@/components/empty-state"
import type { ActorListResponse, RemoteActorDto } from "@/features/social"
type ActorListProps = {
data: ActorListResponse | undefined
isPending: boolean
emptyIcon: LucideIcon
emptyTitle: string
emptyDescription?: string
renderAction?: (actor: RemoteActorDto) => React.ReactNode
}
export function ActorList({ data, isPending, emptyIcon, emptyTitle, emptyDescription, renderAction }: ActorListProps) {
if (isPending) return
{actor.display_name || actor.handle}
{actorHandle(actor)}