crystara-sdk
Version:
Official SDK for Crystara NFT Marketplace
14 lines (13 loc) • 493 B
TypeScript
import React from 'react';
type ImageProps = React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> & {
onLoadingComplete?: (img: HTMLImageElement) => void;
onError?: (error: any) => void;
width?: number;
height?: number;
unoptimized?: boolean;
priority?: boolean;
};
export declare function useImageProtection(): {
ProtectedImage: React.ForwardRefExoticComponent<Omit<ImageProps, "ref"> & React.RefAttributes<unknown>>;
};
export {};