UNPKG

react-lazy-img-observer

Version:

A React component for lazy loading images with Intersection Observer

14 lines (13 loc) 420 B
type ImagesLazy = { src: string; alt: string; width?: number; height?: number; id?: number | string; className?: string; title?: string; extraData?: React.ImgHTMLAttributes<HTMLImageElement>; }; declare const ImageLazy: ({ src, alt, width, height, className, id, extraData, title, }: ImagesLazy) => import("react/jsx-runtime").JSX.Element; export default ImageLazy; export { ImageLazy };