UNPKG

react-img-toolkit

Version:

A lightweight React library for optimizing image loading through preloading, lazy loading, and caching capabilities

10 lines (9 loc) 253 B
import React from "react"; interface ImagePreloaderProps { data?: any; onSuccess?: () => void; onError?: (error: Error) => void; children: React.ReactNode; } export declare const ImagePreloader: React.FC<ImagePreloaderProps>; export {};