From d10aeb2b3128087d0ec2ecbae3e657ae30ffe176 Mon Sep 17 00:00:00 2001 From: kbieganowski Date: Thu, 9 May 2024 12:17:31 +0200 Subject: [PATCH] CR fixes --- src/pages/home/report/comment/TextWithEmojiFragment.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pages/home/report/comment/TextWithEmojiFragment.tsx b/src/pages/home/report/comment/TextWithEmojiFragment.tsx index 8bd33ca17934..dfe7e904c78d 100644 --- a/src/pages/home/report/comment/TextWithEmojiFragment.tsx +++ b/src/pages/home/report/comment/TextWithEmojiFragment.tsx @@ -12,16 +12,22 @@ import CONST from '@src/CONST'; type TextWithEmojiFragmentProps = { /** The message to be displayed */ message: string; + /** Additional styles to add after local styles. */ passedStyles?: StyleProp; + /** Should this message fragment be styled as deleted? */ styleAsDeleted?: boolean; + /** Should this message fragment be styled as muted? */ styleAsMuted?: boolean; + /** Is message displayed on narrow screen? */ isSmallScreenWidth?: boolean; + /** Should "(edited)" suffix be rendered? */ isEdited?: boolean; + /** Does message contain only emojis? */ emojisOnly?: boolean; };