import { ProfileView } from "$lexicon/types/social/grain/actor/defs.ts"; import { Un$Typed } from "$lexicon/util.ts"; import { cn } from "@bigmoves/bff/components"; import { profileLink } from "../utils.ts"; import { ActorAvatar } from "./ActorAvatar.tsx"; export function ActorInfo( { class: classProp, profile, avatarSize = 28 }: Readonly< { class?: string; profile: Un$Typed; avatarSize?: number } >, ) { return (
{profile.displayName || profile.handle} {" "} @{profile.handle}
); }