Closed gigamesh closed 4 years ago
I haven't been able to extract from strings stored in props.
return <div>{t(this.props.testString)}</div>
However, string literals or variables within the component are working. ie:
const testString = "test"; return <div>{t(testString)}</div>
Is there a way to extract strings from props?
I haven't been able to extract from strings stored in props.
However, string literals or variables within the component are working. ie:
Is there a way to extract strings from props?