import { IconBrandBluesky, IconBrandXFilled } from "@tabler/icons-react"; import Image from "next/image"; export interface AuthorChipParams { displayName: string; avatarUrl: string; bluesky?: string; x?: string; } export default function AuthorChip({ displayName, avatarUrl, bluesky, x, }: AuthorChipParams) { return ( <>
{`Picture

{displayName}

{bluesky !== undefined && ( <>
{" "} @{bluesky}
)} {x !== undefined && (
{" "} @{x}
)}
); }