react-native-cedar-maps-autocomplete
Customizable Cedar Maps
autocomplete component for iOS and Android React-Native apps
Preview
Installation
npm install react-native-cedar-maps-autocomplete --save
Example
import CedarMapsAutoComplete from "react-native-cedar-maps-autocomplete"; { return <CedarMapsAutoComplete ="YOUR_ACCESS_TOKEN" // = = // = // //..///.# = = = = ='جستجوی ناحیه' ="در حال جستجو ..." ="نتیجه ای پیدا نشد!" ="متاسفانه درخواست شما با مشکل مواجه شده است!" = = = = // = = = = = = = = = = /> ;}
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
- Places autocompletion
- iOS and Android compatibility
Changelog
- 1.0.0 : Initial commit.