import React from 'react';
import classNames from 'classnames';
import { Avatar, AvatarSize } from './Avatar';
import { Emojify } from './conversation/Emojify';
import { useConversationUsername, useIsMe } from '../hooks/useParamSelector';
type Props = {
pubkey: string;
onClick?: () => void;
};
const AvatarItem = (props: { pubkey: string }) => {
const { pubkey } = props;
return