I'm using react-translate-redux in a project for internationalization, but I don't know how to use translations in a component's properties. Specifically, I would like the title text of a component to be internationalized.
I would try the below,
<Button title={<Translate id="button">}>
but Type 'Element' is not assignable to type 'string'
.
How can I internationalize the title text?