react-thumbor-image
Version:
Makes it easy to add Thumbor optimized images to your React app.
11 lines (9 loc) • 311 B
text/typescript
import type {ThumborProps} from "./thumborProps";
import type {SetProps} from "./imageSrcSet";
import type {ImageProps} from "./imageProps";
import type {PictureSourceProps} from "./pictureSource";
export interface PictureProps {
image: ImageProps;
sources: PictureSourceProps[];
class?: string;
}