I'm pretty stuck. I am trying to insert a text that contains two links with the Trans component. I'm using a function instead of a class, because I can't figure out how to use the hook in a class.
The codeI am trying is:
<Trans i18nKey={text} t={t} components={links} />
Where text is the id and links is this: [</>, </>], and the function receives links from props. If I type components=[</>, </>] directly (no props) it works fine (on json, i am using <0></0> and <1></1>. I really don't know how render a text with two or more links inside...