import React from 'react'; import classNames from 'classnames'; import { ContactType } from '../../types/Contact'; import { LocalizerType } from '../../types/Util'; import { renderAvatar, renderContactShorthand, renderName, } from './_contactUtil'; export interface Props { contact: ContactType; i18n: LocalizerType; isIncoming: boolean; withContentAbove: boolean; withContentBelow: boolean; tabIndex: number; onClick?: () => void; } export class EmbeddedContact extends React.Component { public render(): JSX.Element { const { contact, i18n, isIncoming, onClick, tabIndex, withContentAbove, withContentBelow, } = this.props; const module = 'embedded-contact'; const direction = isIncoming ? 'incoming' : 'outgoing'; return ( ); } }