export interface MapsProps { apiKey: string; statusLoadingText?: string; statusFailureText?: string; determiningPositionText?: string; geoLocationUnsupportedText?: string; locationErrorText?: string; placeholderText?: string; noResultsText?: string; inputLabel?: string; } export interface GridMapProps { height: number | 250; width: number | 1; } export interface MapAutocompletionRequestOptions { minChars?: number; autocompletionRequestOptions?: google.maps.places.AutocompletionRequest; } /* https://github.com/cedricdelpoux/react-google-places-suggest#readme */ export interface ReactGooglePlacesSuggestProps { onNoResult?: any; onSelectSuggest?: any; onStatusUpdate?: any; customRender?: any; customContainerRender?: any; displayPoweredByGoogle?: boolean; textNoResults?: string; } export interface LatLng { lat: number | undefined; lng: number | undefined; } export interface STXGoogleMapsLocationPickerProps { mapsProps: MapsProps; mapAutocompletionRequestOptions: MapAutocompletionRequestOptions; gridMapProps: GridMapProps; reactGooglePlacesSuggestProps: ReactGooglePlacesSuggestProps; mapOptions?: google.maps.MapOptions; gridProps?: any; gridItemButtonClearProps?: any; gridItemButtonDetermineLocationProps?: any; wrapperProps?: any; initialValue?: string; initialLatLng?: LatLng; onChange?: (value: string | undefined, latLng: LatLng | undefined) => void; }