@getcronit/pylon
Version:

23 lines (22 loc) • 513 B
TypeScript
import React from 'react';
interface ImageValuesProps {
src: string | PylonBuildSrc;
alt?: string;
className?: string;
width?: number;
height?: number;
blurDataURL?: string;
}
export interface ImageProps extends Omit<ImageValuesProps, 'src'> {
src: string;
fill?: boolean;
style?: React.CSSProperties;
}
interface PylonBuildSrc {
url: string;
width?: number;
height?: number;
blurDataURL?: string;
}
export declare const Image: React.FC<ImageProps>;
export {};