martinandert / react-translate-component

A component for React that utilizes the Counterpart module to provide multi-lingual/localized text content.
MIT License
322 stars 31 forks source link

Problem in select option #25

Closed briva closed 2 years ago

briva commented 7 years ago

Hello,

From this issue : https://github.com/martinandert/react-translate-component/issues/20

I'm trying to translate my option select.

But with :

<Translate {...this.props} component="option" key={0} value={0} content={"key_lang"} />

It working well but i get a warning :

warning.js:36 Warning: Unknown prop coverComponent on

Thanks

martinandert commented 7 years ago

Hi @briva, could you please show me what's inside this.props in your example?