Onboarding story

This commit is contained in:
Josh Perez 2022-11-08 21:38:19 -05:00 committed by GitHub
parent 94f318ea08
commit 19a42ed719
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 725 additions and 143 deletions

View file

@ -11,6 +11,7 @@ import { getClassNamesFor } from '../../util/getClassNamesFor';
export type PropsType = {
contactNameColor?: ContactNameColorType;
firstName?: string;
isSignalConversation?: boolean;
module?: string;
preferFirstName?: boolean;
title: string;
@ -19,6 +20,7 @@ export type PropsType = {
export const ContactName = ({
contactNameColor,
firstName,
isSignalConversation,
module,
preferFirstName,
title,
@ -41,6 +43,9 @@ export const ContactName = ({
dir="auto"
>
<Emojify text={text} />
{isSignalConversation && (
<span className="StoryListItem__signal-official" />
)}
</span>
);
};