Rename ContactType to EmbeddedContactType

This commit is contained in:
Fedor Indutny 2021-08-19 18:56:39 -07:00 committed by GitHub
parent 017a0fa807
commit fe040a2873
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 46 additions and 42 deletions

View file

@ -9,7 +9,7 @@ import { Spinner } from '../Spinner';
import { LocalizerType } from '../../types/Util';
import { AvatarColors } from '../../types/Colors';
import { ContactType, getName } from '../../types/Contact';
import { EmbeddedContactType, getName } from '../../types/EmbeddedContact';
// This file starts with _ to keep it from showing up in the StyleGuide.
@ -19,7 +19,7 @@ export function renderAvatar({
size,
direction,
}: {
contact: ContactType;
contact: EmbeddedContactType;
i18n: LocalizerType;
size: 28 | 52 | 80;
direction?: 'outgoing' | 'incoming';
@ -65,7 +65,7 @@ export function renderName({
isIncoming,
module,
}: {
contact: ContactType;
contact: EmbeddedContactType;
isIncoming: boolean;
module: string;
}): JSX.Element {
@ -86,7 +86,7 @@ export function renderContactShorthand({
isIncoming,
module,
}: {
contact: ContactType;
contact: EmbeddedContactType;
isIncoming: boolean;
module: string;
}): JSX.Element {