<TextInput>
<ParsedText
style={{}}
parse={
[
{
pattern: /((@)\[([^[]*)\]\((([\d\w-]*))\))/giu,
style: themedStyle.txtMention,
renderText: (str, matches) => matches[3],
},
]
}
childrenProps={{ allowFontScaling: false }}
>
{commentTextFormatted}
</ParsedText>
</TextInput>