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

@ -21,7 +21,7 @@ export type Props = {
onDelete(): unknown;
state: MessageRequestState;
onChangeState(state: MessageRequestState): unknown;
} & Omit<ContactNameProps, 'module'>;
} & Omit<ContactNameProps, 'module' | 'i18n'>;
// tslint:disable-next-line: max-func-body-length
export const MessageRequestActionsConfirmation = ({
@ -29,6 +29,7 @@ export const MessageRequestActionsConfirmation = ({
name,
profileName,
phoneNumber,
title,
conversationType,
onBlock,
onBlockAndDelete,
@ -55,6 +56,8 @@ export const MessageRequestActionsConfirmation = ({
name={name}
profileName={profileName}
phoneNumber={phoneNumber}
title={title}
i18n={i18n}
/>,
]}
/>
@ -95,6 +98,8 @@ export const MessageRequestActionsConfirmation = ({
name={name}
profileName={profileName}
phoneNumber={phoneNumber}
title={title}
i18n={i18n}
/>,
]}
/>
@ -135,6 +140,8 @@ export const MessageRequestActionsConfirmation = ({
name={name}
profileName={profileName}
phoneNumber={phoneNumber}
title={title}
i18n={i18n}
/>,
]}
/>