import type { ComponentPropsWithoutRef, FC } from 'react'; import classNames from 'classnames'; import { AnimateEmojiProvider } from '../emoji/context'; import { EmojiHTML } from '../emoji/html'; import { Skeleton } from '../skeleton'; import type { DisplayNameProps } from './index'; export const DisplayNameWithoutDomain: FC< Omit & ComponentPropsWithoutRef<'span'> > = ({ account, className, children, localDomain: _, ...props }) => { return ( {account ? ( ) : ( )} {children} ); };