First-class profile name rendering
This commit is contained in:
parent
632cd0e87e
commit
d07b8e82b2
63 changed files with 1044 additions and 454 deletions
|
@ -12,7 +12,8 @@ import { ContactName } from './ContactName';
|
|||
|
||||
interface Props {
|
||||
attachment?: QuotedAttachmentType;
|
||||
authorPhoneNumber: string;
|
||||
authorTitle: string;
|
||||
authorPhoneNumber?: string;
|
||||
authorProfileName?: string;
|
||||
authorName?: string;
|
||||
authorColor?: ColorType;
|
||||
|
@ -307,6 +308,7 @@ export class Quote extends React.Component<Props, State> {
|
|||
const {
|
||||
authorProfileName,
|
||||
authorPhoneNumber,
|
||||
authorTitle,
|
||||
authorName,
|
||||
i18n,
|
||||
isFromMe,
|
||||
|
@ -327,6 +329,8 @@ export class Quote extends React.Component<Props, State> {
|
|||
phoneNumber={authorPhoneNumber}
|
||||
name={authorName}
|
||||
profileName={authorProfileName}
|
||||
title={authorTitle}
|
||||
i18n={i18n}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue