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

Getting a nasty error when using `fallback` #29

Closed micky2be closed 7 years ago

micky2be commented 7 years ago

It seems fallback is missing from the propTypes and React is trowing the following error:

Warning: Unknown prop `fallback` on <span> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
    in span (created by Interpolate)
    in Interpolate (created by Translate)
    in Translate (created by FolderEntry)
    in div (created by Button)
    ...
martinandert commented 7 years ago

Fixed in v0.13.2