12 lines
407 B
TypeScript
12 lines
407 B
TypeScript
import Username, { SimpleUsername } from '../Username'
|
|
|
|
export function EmbeddedMention({ userId }: { userId: string }) {
|
|
return (
|
|
<Username userId={userId} showAt className="text-primary font-normal inline" withoutSkeleton />
|
|
)
|
|
}
|
|
|
|
export function EmbeddedMentionText({ userId }: { userId: string }) {
|
|
return <SimpleUsername userId={userId} showAt className="inline truncate" withoutSkeleton />
|
|
}
|