'use client'; import { Anchor, Card, Group, Stack } from '@mantine/core'; import RichTextRenderer from '@/components/contentDisplay/richTextRenderer/RichTextRenderer'; import type { UrlCard, User } from '@/api-client'; import { LinkAvatar } from '@/components/link/MantineLink'; import { isBotAccount } from '@/features/platforms/bluesky/lib/utils/account'; import BotLabel from '@/features/profile/components/botLabel/BotLabel'; import styles from './NoteCardInline.module.css'; interface Props { note: UrlCard['note']; cardAuthor?: User; lineClamp?: number; } export default function NoteCardInline(props: Props) { return ( e.stopPropagation()} > {props.cardAuthor ? ( e.stopPropagation()} > {props.cardAuthor.name || `@${props.cardAuthor.handle}`} {isBotAccount(props.cardAuthor) && } ) : ( )} {props.note && ( )} ); }