set mentionHighlightBg background for mention keywords (#6834)
This commit is contained in:
parent
8e0bf7c397
commit
8ed78b807c
1 changed files with 4 additions and 0 deletions
|
|
@ -488,6 +488,10 @@ const Markdown = ({
|
|||
styles = computeTextStyle(textStyles, baseTextStyle, context);
|
||||
}
|
||||
|
||||
if (context.includes('mention_highlight')) {
|
||||
styles = concatStyles(styles, {backgroundColor: theme.mentionHighlightBg});
|
||||
}
|
||||
|
||||
return (
|
||||
<Text
|
||||
testID='markdown_text'
|
||||
|
|
|
|||
Loading…
Reference in a new issue