Skip to content

Commit b43d3d6

Browse files
authored
Merge pull request #50 from TomClarkson/patch-1
Pass in components to google search
2 parents b8337b5 + 68707fc commit b43d3d6

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)