import type React from 'react'; import cs from 'classnames'; import { Avatar } from 'tuikit-atomicx-react/chat'; import styles from './BlacklistItem.module.scss'; import type { BlacklistItemProps } from '../../../../types/contact'; export const BlacklistItem: React.FC = ({ profile, isActive, onClick, className, style, }) => { const handleClick = () => onClick?.(profile); return (
(e.key === 'Enter' || e.key === ' ') && handleClick()} >
{profile.nickname || profile.userID}
); };