Socket
Socket
Sign inDemoInstall

@types/react-autosuggest

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-autosuggest - npm Package Compare versions

Comparing version 10.1.1 to 10.1.2

9

react-autosuggest/index.d.ts

@@ -77,2 +77,7 @@ // Type definitions for react-autosuggest 10.1

interface RenderInputComponentProps extends React.InputHTMLAttributes<any> {
value: string;
ref?: React.Ref<HTMLInputElement>;
}
interface InputProps<TSuggestion>

@@ -138,3 +143,3 @@ extends Omit<React.InputHTMLAttributes<any>, 'onChange' | 'onBlur'> {

) => void;
type RenderInputComponent<TSuggestion> = (inputProps: InputProps<TSuggestion>) => React.ReactNode;
type RenderInputComponent = (inputProps: RenderInputComponentProps) => React.ReactNode;
type RenderSuggestionsContainer = (params: RenderSuggestionsContainerParams) => React.ReactNode;

@@ -196,3 +201,3 @@ type RenderSectionTitle = (section: any) => React.ReactNode;

*/
renderInputComponent?: RenderInputComponent<TSuggestion>;
renderInputComponent?: RenderInputComponent;
/**

@@ -199,0 +204,0 @@ * Use it if you want to customize things inside the suggestions container beyond rendering the suggestions themselves.

{
"name": "@types/react-autosuggest",
"version": "10.1.1",
"version": "10.1.2",
"description": "TypeScript definitions for react-autosuggest",

@@ -59,4 +59,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "647e147f1127515d7c61ada46d89e7dc7d0363fa9a63fcc6c01884a2a79f888f",
"typesPublisherContentHash": "d09a4c64e7b8d1349864e681e49a702c657a80b6c050e0f85a3d015919efb5e9",
"typeScriptVersion": "3.4"
}

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

### Additional Details
* Last updated: Fri, 05 Feb 2021 00:01:09 GMT
* Last updated: Tue, 16 Feb 2021 20:33:34 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc