Skip to content

Commit

Permalink
register custom user mentions renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
robertKozik committed May 3, 2023
1 parent edf6c26 commit b237150
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const customHTMLElementModels = {
tagName: 'strong',
mixedUAStyles: {whiteSpace: 'pre'},
}),
'mention-user': defaultHTMLElementModels.span.extend({tagName: 'mention-user'}),
};

const defaultViewProps = {style: [styles.alignItemsStart, styles.userSelectText]};
Expand Down

0 comments on commit b237150

Please sign in to comment.