How to apply a bold weight to certain parts of the translation using the Trans component in React Native?
Since HTML tags like <strong></strong> don't work, we have to create our own custom <Strong/> component that applies certain text styling to the translation, but I don't know how to do that despite reading the docs?
Docs:
i guess you can use
<Text style={{fontWeight: 'bold'}}>{{name}}</Text>instead of<strong title={t('nameTitle')}>{{name}}</strong>.or using
useTranslationdon't test yet