How to render nested elements in react-intl
What I'm trying to render:
<FormattedMessage>
This is a <strong>House</strong>
</FormattedMessage>
This has been discussed here and there should be examples in the docs, but I can't find them.
How to render nested elements in react-intl
What I'm trying to render:
<FormattedMessage>
This is a <strong>House</strong>
</FormattedMessage>
This has been discussed here and there should be examples in the docs, but I can't find them.
Copyright © 2021 Jogjafile Inc.
What you want is called Rich Text Formatting. Here is an example:
Live Demo