@types/react-autosuggest
Advanced tools
Comparing version 10.1.1 to 10.1.2
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13557
234