@types/react-lazy-load-image-component
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -10,13 +10,6 @@ // Type definitions for react-lazy-load-image-component 1.6 | ||
import { | ||
CSSProperties, | ||
ComponentType, | ||
FunctionComponent, | ||
ImgHTMLAttributes, | ||
ReactElement, | ||
ReactNode, | ||
} from 'react'; | ||
import { ComponentType, CSSProperties, FunctionComponent, ImgHTMLAttributes, ReactElement, ReactNode } from "react"; | ||
export type DelayMethod = 'debounce' | 'throttle'; | ||
export type Effect = 'blur' | 'black-and-white' | 'opacity'; | ||
export type DelayMethod = "debounce" | "throttle"; | ||
export type Effect = "blur" | "black-and-white" | "opacity"; | ||
@@ -51,3 +44,5 @@ export interface ScrollPosition { | ||
export interface LazyLoadImageProps extends CommonProps, Omit<ImgHTMLAttributes<HTMLImageElement>, 'placeholder' | 'onLoad'> { | ||
export interface LazyLoadImageProps | ||
extends CommonProps, Omit<ImgHTMLAttributes<HTMLImageElement>, "placeholder" | "onLoad"> | ||
{ | ||
/** Name of the effect to use. Requires importing CSS, see README.md. */ | ||
@@ -71,3 +66,3 @@ effect?: Effect | undefined; | ||
BaseComponent: ComponentType<P>, | ||
): ComponentType<Omit<P, 'scrollPosition'>>; | ||
): ComponentType<Omit<P, "scrollPosition">>; | ||
@@ -74,0 +69,0 @@ export interface LazyLoadComponentProps extends CommonProps { |
{ | ||
"name": "@types/react-lazy-load-image-component", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "TypeScript definitions for react-lazy-load-image-component", | ||
@@ -41,4 +41,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-lazy-load-image-component", | ||
}, | ||
"typesPublisherContentHash": "9a20e286a8dde60bbd7ca6107d0e05aa97c9b684a91c2b91ae8bf2903994df3b", | ||
"typeScriptVersion": "4.3" | ||
"typesPublisherContentHash": "3b6b9fff19a7b1418ad157b79a38b42bc1f55864d2362c4678d8e51efa0ebd72", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 06 Sep 2023 14:33:12 GMT | ||
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -14,0 +14,0 @@ * Global values: none |
6605
61