React-native-google-places-autocomplete: Custom styling of TextInput and result list

Created on 21 Mar 2016  路  6Comments  路  Source: FaridSafi/react-native-google-places-autocomplete

Great job with this plugin.
I don't know whether custom styling is possible in this yet or not? If yes it would be pretty helpful if you can put this in documentation on how to do it.
i simply tried to put autoCorrect to false by putting "autoCorrect:false," into textInput style but got the invalid props.style key autoCorrect supplied to TextInput.

Most helpful comment

It is possible. Ready through the source code, he has prop hooks for the styles you can pass. I agree, there should be better documentation on this but not too hard to find if you try.

All 6 comments

It is possible. Ready through the source code, he has prop hooks for the styles you can pass. I agree, there should be better documentation on this but not too hard to find if you try.

I just went in the source and edited it myself...was too lazy to add custom props!

We can also help with the documentation whenever possible, its part of our contribution to the lib. 馃憤

Hi @dimonge @kvieira90 !

Sure! If you could add a little snippet to the documentation, it'd be awesome!
I'll gladly merge it.

@myaskevich added documentation for styling the component here PR

Thanks a lot @nak1b

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nikohosn picture nikohosn  路  3Comments

miguel-pm picture miguel-pm  路  3Comments

yasirdev picture yasirdev  路  3Comments

sohel-tech picture sohel-tech  路  3Comments

frankfaustino picture frankfaustino  路  4Comments