Skip to content

Commit 68707fc

Browse files
authored
Pass in components to google search
1 parent b8337b5 commit 68707fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GoogleAutocomplete.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export const useGoogleAutocomplete = (apiKey: string, opts: Options = {}) => {
101101
lat: opts.lat,
102102
lng: opts.lng,
103103
radius: opts.radius,
104+
components: opts.components,
104105
},
105106
opts.proxyUrl
106107
);

0 commit comments

Comments
 (0)