JSFiddle - React, Tailwind, and code Playground
by kougiland
HTML
<script src="http://maps.googleapis.com/maps/api/js?sensor=false&libraries=places&dummy=.js"></script>
<label for="searchTextField">Please Insert an address:</label>
<br>
<input id="searchTextField" type="text" size="50">
JavaScript
var input = document.getElementById('searchTextField');
var options = {componentRestrictions: {country: 'de'}};
new google.maps.places.Autocomplete(input, options);