Skip to content

Commit

Permalink
add object as option for passing objects
Browse files Browse the repository at this point in the history
  • Loading branch information
rgordon95 authored and bell-steven committed Nov 11, 2020
1 parent dc235c6 commit 0af296c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions GooglePlacesAutocomplete.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ interface GooglePlacesAutocompleteProps {
predefinedPlaces?: Place[];
predefinedPlacesAlwaysVisible?: boolean;
preProcess?: (text: string) => string;
query: Query;
query: Query | Object;
renderDescription?: (description: DescriptionRow) => string;
renderHeaderComponent?: () => JSX.Element | React.ComponentType<{}>;
renderLeftButton?: () => JSX.Element | React.ComponentType<{}>;
Expand All @@ -410,11 +410,11 @@ interface GooglePlacesAutocompleteProps {

// sets the request URL to something other than the google api. Helpful if you want web support or to use your own api.
requestUrl?: RequestUrl;
styles?: Partial<Styles>;
styles?: Partial<Styles> | Object;
suppressDefaultStyles?: boolean;
textInputHide?: boolean;
// text input props
textInputProps?: TextInputProps;
textInputProps?: TextInputProps | Object;
timeout?: number;
}

Expand Down

0 comments on commit 0af296c

Please sign in to comment.