UNPKG

@nichoth/image

Version:
21 lines 705 B
import { FunctionComponent } from 'preact'; import { Props } from '../attributes.js'; interface BlurProps extends Props { blurPlaceholder: string; maxWidth: number; } interface Components { Image: FunctionComponent<Props>; BlurredImage: FunctionComponent<BlurProps>; } /** * This is a factory function that returns an object like { Image, BlurredImage }, * where `Image` and `BlurredImage` are preact components * @param config {{ cloudName:string }} The cloudName for Cloudinary * @returns { { Image:FunctionComponent } } */ export declare const CloudinaryImage: (config: { cloudName: string; }) => Components; export default CloudinaryImage; //# sourceMappingURL=preact.d.ts.map