import React from 'react'; import classNames from 'classnames'; import { TypingAnimation } from './TypingAnimation'; import { Avatar } from '../Avatar'; import { LocalizerType } from '../../types/Util'; interface Props { avatarPath?: string; color: string; name: string; phoneNumber: string; profileName: string; conversationType: string; i18n: LocalizerType; } export class TypingBubble extends React.Component { public renderAvatar() { const { avatarPath, color, name, phoneNumber, profileName, conversationType, i18n, } = this.props; if (conversationType !== 'group') { return; } return (
); } public render() { const { i18n, color } = this.props; return (
{this.renderAvatar()}
); } }