react-native-google-places-autocomplete
                                
                                 react-native-google-places-autocomplete copied to clipboard
                                
                                    react-native-google-places-autocomplete copied to clipboard
                            
                            
                            
                        Restricting search to 2+ countries?
Describe the problem
I want to limit the search to include both US and CA.
Reproduction - (required - issue will be closed without this)
Click to expand!
<GooglePlacesAutocomplete
           placeholder='Enter Location'
           fetchDetails={true}
           onPress={(data, details) => {
             // 'details' is provided when fetchDetails = true
           }}
           query={{
             key: "MY_API_KEY",
             language: 'en'
             **//components: { country: ["us", "ca"] }  --> doesn't work**
             components: 'country:us',
           }}
    />
  
  
Additional context
- 
Library Version: 2.5.6 
- 
React Native Version: 0.72.4 
- 
[x ] iOS 
- 
[x ] Android 
- 
[ ] Web 
- 
[x ] I am using expo 
You can use as below
components: 'country:us|country:ca'
But
Currently, you can use componentRestrictions to filter by up to 5 countries (from google)