react-native-cedar-maps-autocomplete
Customizable Cedar Maps autocomplete component for iOS and Android React-Native apps.
Installation
npm install react-native-cedar-maps-autocomplete --save
Example
Styling
CedarPlacesAutocomplete
can be easily customized to meet styles of your app. Pass styles props to CedarPlacesAutocomplete
with style object for different elements (keys for style object are listed below)
key | type |
---|---|
mainContainerStyle | object (View) |
resultItemContainerStyle | object (Text style) |
navbarContainerStyle | object (View style) |
loadingTextStyle | object (style) |
placeholderTextStyle | object (View style) |
searchIconStyle | object (ListView style) |
textInputStyle | object (Text style) |
labelContainerStyle | object (View style) |
labelImageStyle | object (Image style) |
labelTextStyle | object (View style) |
Features
- [x] Places autocompletion
- [x] iOS and Android compatibility