react-thumbor-image
Version:
Makes it easy to add Thumbor optimized images to your React app.
15 lines (13 loc) • 348 B
text/typescript
import type {ThumborProps} from "./thumborProps";
import type {SetProps} from "./imageSrcSet";
export interface ImageProps {
thumbor?: ThumborProps;
alt: string;
src: string;
height?: string;
width?: string;
decoding?: "sync" | "async" | "auto";
loading?: "lazy" | "eager";
srcset?: SetProps;
class?: string;
}