Rename ContactType to EmbeddedContactType
This commit is contained in:
parent
017a0fa807
commit
fe040a2873
16 changed files with 46 additions and 42 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue