JSFiddle - React, Tailwind, and code Playground
by HaJIuBauKa
HTML
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=places"></script>
<input id="autocomplete" type="text"
placeholder="Введите адрес" style="width: 100%">
JavaScript
var autocomplete = new google.maps.places.Autocomplete(document.getElementById('autocomplete'), {
language: 'ru',
componentRestrictions: {country: 'ru'}
});