You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| apiKey | string | Yes | - | Your Google Places API key |
210
+
| value | string | No | - | Controlled input value |
211
+
| placeHolderText | string | No | - | Placeholder text for the input |
212
+
| onPlaceSelect | (place: Place, sessionToken?: string) => void | Yes | - | Callback when a place is selected |
213
+
| onTextChange | (text: string) => void | No | - | Callback when input text changes |
214
+
| onFocus | (event: NativeSyntheticEvent<TextInputFocusEventData>) => void | No | - | Callback when input is focused |
215
+
| onBlur | (event: NativeSyntheticEvent<TextInputFocusEventData>) => void | No | - | Callback when input is blurred |
216
+
|**Search Configuration**|
217
+
| proxyUrl | string | No | - | Custom proxy URL for API requests (Required for Expo web) |
218
+
| languageCode | string | No | - | Language code (e.g., 'en', 'fr') |
219
+
| includedRegionCodes | string[]| No | - | Array of region codes to filter results |
220
+
| types | string[]| No |[]| Array of place types to filter |
221
+
| biasPrefixText | (text: string) => string | No | - | Optional function to modify the input text before sending to the Places API |
222
+
| minCharsToFetch | number | No | 1 | Minimum characters before triggering search |
223
+
| debounceDelay | number | No | 200 | Delay in milliseconds before triggering search |
227
224
|**Place Details Configuration**|
228
-
| fetchDetails | boolean | No | false | Automatically fetch place details when a place is selected|
229
-
| detailsProxyUrl | string | No | null | Custom proxy URL for place details requests (Required on Expo web)|
230
-
| detailsFields | string[]| No|['displayName', 'formattedAddress', 'location', 'id']| Array of fields to include in the place details response. see [Valid Fields](https://developers.google.com/maps/documentation/places/web-service/place-details#fieldmask)|
231
-
|**UI Customization**|
232
-
| showLoadingIndicator | boolean | No | true | Show loading spinner during API requests|
233
-
| showClearButton | boolean | No | true | Show clear (×) button when input has text|
234
-
| forceRTL | boolean | No | - | Force RTL layout (auto-detected if not provided)|
| hideOnKeyboardDismiss | boolean | No | false | Hide suggestions when keyboard is dismissed|
237
-
| scrollEnabled | boolean | No | true | Enable/disable scrolling in the suggestions list|
238
-
| nestedScrollEnabled | boolean | No | true | Enable/disable nested scrolling for the suggestions list|
239
-
|**Error Handling & Debugging**|
240
-
| onError | (error: any) => void | No | - | Callback when API errors occur|
241
-
| enableDebug | boolean | No | false | Enable detailed console logging for troubleshooting|
225
+
| fetchDetails | boolean | No | false | Automatically fetch place details when a place is selected |
226
+
| detailsProxyUrl | string | No | null | Custom proxy URL for place details requests (Required on Expo web)|
227
+
| detailsFields | string[]| No |['displayName', 'formattedAddress', 'location', 'id']| Array of fields to include in the place details response. see [Valid Fields](https://developers.google.com/maps/documentation/places/web-service/place-details#fieldmask)|
228
+
|**UI Customization**|
229
+
| showLoadingIndicator | boolean | No | true | Show loading spinner during API requests |
230
+
| showClearButton | boolean | No | true | Show clear (×) button when input has text |
231
+
| forceRTL | boolean | No | - | Force RTL layout (auto-detected if not provided) |
0 commit comments