google-location-autocomplete-react
Advanced tools
Comparing version 1.0.17 to 1.0.18
@@ -13,5 +13,3 @@ /// <reference types="googlemaps" /> | ||
} | ||
declare const GoogleLocationAutocomplete: React.FC<GoogleAutocompleteProps> & { | ||
defaultValue?: string; | ||
}; | ||
declare const GoogleLocationAutocomplete: React.FC<GoogleAutocompleteProps>; | ||
export default GoogleLocationAutocomplete; |
@@ -26,3 +26,3 @@ var __assign = (this && this.__assign) || function () { | ||
var GoogleLocationAutocomplete = function (_a) { | ||
var apiKey = _a.apiKey, onPlaceSelected = _a.onPlaceSelected, defaultValue = _a.defaultValue, props = __rest(_a, ["apiKey", "onPlaceSelected", "defaultValue"]); | ||
var apiKey = _a.apiKey, onPlaceSelected = _a.onPlaceSelected, props = __rest(_a, ["apiKey", "onPlaceSelected"]); | ||
var inputRef = useRef(null); | ||
@@ -38,5 +38,2 @@ var initAutocomplete = function () { | ||
}); | ||
// if (defaultValue) { | ||
// autocomplete.setValue(defaultValue); | ||
// } | ||
} | ||
@@ -43,0 +40,0 @@ }; |
{ | ||
"name": "google-location-autocomplete-react", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"main": "dist/GoogleLocationAutocomplete.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/GoogleLocationAutocomplete.d.ts", |
5392
72