@ekwoka/x-rias
Version:
A simple Alpine Directive for use with Cloudinary Fetch API for handling Responsive Images
6 lines • 477 B
TypeScript
export declare const getURLMaker: (value: string, onShopify: boolean, cloudURL: string) => (width: number) => string;
export declare const getCloudinaryUrl: (value: string, cloudURL: string) => (width: number) => string;
export declare const getShopifyUrl: (value: string) => (width: number) => string;
export declare const widths: number[];
export declare const makeSrcSet: (urlGenerator: (v: number) => string, maxSize?: number) => string;
//# sourceMappingURL=utils.d.ts.map