Socket
Socket
Sign inDemoInstall

@types/react-places-autocomplete

Package Overview
Dependencies
4
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.1.5 to 6.1.6

54

react-places-autocomplete v6.1/index.d.ts

@@ -32,35 +32,35 @@ // Type definitions for react-places-autocomplete 6.1

inputProps: InputProps;
onError?: (status: string, clearSuggestion: () => void) => void;
onSelect?: (address: string, placeID: string) => void;
renderSuggestion?: (obj: {
onError?: ((status: string, clearSuggestion: () => void) => void) | undefined;
onSelect?: ((address: string, placeID: string) => void) | undefined;
renderSuggestion?: ((obj: {
suggestion: string;
formattedSuggestion: formattedSuggestionType;
}) => React.ReactNode;
}) => React.ReactNode) | undefined;
classNames?: {
root?: string;
input?: string;
autocompleteContainer?: string;
autocompleteItem?: string;
autocompleteItemActive?: string;
};
root?: string | undefined;
input?: string | undefined;
autocompleteContainer?: string | undefined;
autocompleteItem?: string | undefined;
autocompleteItemActive?: string | undefined;
} | undefined;
styles?: {
root?: React.CSSProperties;
input?: React.CSSProperties;
autocompleteContainer?: React.CSSProperties;
autocompleteItem?: React.CSSProperties;
autocompleteItemActive?: React.CSSProperties;
};
root?: React.CSSProperties | undefined;
input?: React.CSSProperties | undefined;
autocompleteContainer?: React.CSSProperties | undefined;
autocompleteItem?: React.CSSProperties | undefined;
autocompleteItemActive?: React.CSSProperties | undefined;
} | undefined;
options?: {
bounds?: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral;
componentRestrictions?: google.maps.GeocoderComponentRestrictions;
location?: google.maps.LatLng | google.maps.LatLngLiteral;
offset?: number | string;
radius?: number | string;
types?: string[];
};
bounds?: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral | undefined;
componentRestrictions?: google.maps.GeocoderComponentRestrictions | undefined;
location?: google.maps.LatLng | google.maps.LatLngLiteral | undefined;
offset?: number | string | undefined;
radius?: number | string | undefined;
types?: string[] | undefined;
} | undefined;
debounce?: number;
highlightFirstSuggestion?: boolean;
renderFooter?: () => React.ReactNode;
shouldFetchSuggestions?: (value: string) => boolean;
debounce?: number | undefined;
highlightFirstSuggestion?: boolean | undefined;
renderFooter?: (() => React.ReactNode) | undefined;
shouldFetchSuggestions?: ((value: string) => boolean) | undefined;
}

@@ -67,0 +67,0 @@

{
"name": "@types/react-places-autocomplete",
"version": "6.1.5",
"version": "6.1.6",
"description": "TypeScript definitions for react-places-autocomplete",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-places-autocomplete",
"license": "MIT",

@@ -40,4 +41,4 @@ "contributors": [

},
"typesPublisherContentHash": "ba6cbcf6728398e6e959beb91d6254afc855b9128f79927c5bdf503785ab264c",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "ee1efeb73ecff23d4a9552abc280aed95d27074fb9bdf2fa8034222e67d45460",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 18 May 2021 10:01:26 GMT
* Last updated: Wed, 07 Jul 2021 17:33:54 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/google.maps](https://npmjs.com/package/@types/google.maps)

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc