diff --git a/GooglePlacesAutocomplete.d.ts b/GooglePlacesAutocomplete.d.ts index 15d5a8a0..c0b31d58 100644 --- a/GooglePlacesAutocomplete.d.ts +++ b/GooglePlacesAutocomplete.d.ts @@ -413,7 +413,7 @@ interface GooglePlacesAutocompleteProps { preProcess?: (text: string) => string; query: Query | Object; renderDescription?: (description: DescriptionRow) => string; - renderHeaderComponent?: () => JSX.Element | React.ComponentType<{}>; + renderHeaderComponent?: (searchText: string) => JSX.Element | React.ComponentType<{}>; renderLeftButton?: () => JSX.Element | React.ComponentType<{}>; renderRightButton?: () => JSX.Element | React.ComponentType<{}>; renderRow?: (