-
Hello, Thanks for the awesome library! Is there any way to support it or should I suggest it as a new feature? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Remember that // The defined dictionary enter is like:
// "example": "<p>This text</p><p>is in two lines</p>"
<Trans i18nKey="common:example" components={{ p: <p /> }} /> |
Beta Was this translation helpful? Give feedback.
-
Newlines are supported when using the |
Beta Was this translation helpful? Give feedback.
Remember that
\n
in HTML doesn't work either. If you want to split text into different lines you have to use HTML inside your translations.