xxxxxxxxxx
To restrict google maps autocomplete to a certain country,
add either of this "query" properties "components or region",
make sure country name is a two-character value top-level domain.
Check the example below:
<GooglePlacesAutocomplete
.
query={{
..
components: 'country:ng',
region: 'ng',
}}
/>