First-class profile name rendering

This commit is contained in:
Scott Nonnenberg 2020-07-23 18:35:32 -07:00
parent 632cd0e87e
commit d07b8e82b2
63 changed files with 1044 additions and 454 deletions

View file

@ -10,8 +10,9 @@ interface Props {
avatarPath?: string;
color: ColorType;
name?: string;
phoneNumber: string;
phoneNumber?: string;
profileName?: string;
title: string;
conversationType: 'group' | 'direct';
i18n: LocalizerType;
}
@ -24,6 +25,7 @@ export class TypingBubble extends React.PureComponent<Props> {
name,
phoneNumber,
profileName,
title,
conversationType,
i18n,
} = this.props;
@ -42,6 +44,7 @@ export class TypingBubble extends React.PureComponent<Props> {
name={name}
phoneNumber={phoneNumber}
profileName={profileName}
title={title}
size={28}
/>
</div>