From 825e11a97fe2460dd9f8df8928b934e03c585fb5 Mon Sep 17 00:00:00 2001 From: Dan G Nelson Date: Fri, 22 Jan 2021 12:17:33 -0500 Subject: [PATCH] Add support for strictBounds Adds support for `strictBounds` search option. --- src/PlacesAutocomplete.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PlacesAutocomplete.js b/src/PlacesAutocomplete.js index 0b08b687..fe58cf11 100644 --- a/src/PlacesAutocomplete.js +++ b/src/PlacesAutocomplete.js @@ -377,6 +377,7 @@ PlacesAutocomplete.propTypes = { onSelect: PropTypes.func, searchOptions: PropTypes.shape({ bounds: PropTypes.object, + strictBounds: PropTypes.bool, componentRestrictions: PropTypes.object, location: PropTypes.object, offset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),