ydeshayes / googlePlaceAutocomplete

Wrapper on top of the material-ui AutoComplete component that use google place api
https://ydeshayes.github.io/googlePlaceAutocomplete/
26 stars 12 forks source link

Adding types prop results in react warning #5

Closed SergeyKhval closed 7 years ago

SergeyKhval commented 7 years ago
<GooglePlaceAutocomplete types={['geocode']} />

This results in the following error: Warning: Unknown prop types on tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop

ydeshayes commented 7 years ago

Thank you very much for your feedback, I fixed it on the 1.1.3 version ! https://github.com/ydeshayes/googlePlaceAutocomplete/commit/2e2882e3e547fdd6be81bc7fb8a41fb03f7d06bc

SergeyKhval commented 7 years ago

Yeah, thanks. npm i material-ui-places pulls version 1.1.1

ydeshayes commented 7 years ago

I can't reproduce @SergeyKhval , try to pull again ?