@britannica/ui
Version:
Consumer style system
17 lines (16 loc) • 502 B
TypeScript
import type { FC, HTMLAttributes } from 'react';
export interface IrisImageProps extends Omit<HTMLAttributes<HTMLImageElement>, 'children'> {
children?: Function;
src: string;
alt: string;
loading?: 'lazy' | 'eager';
quality?: string | number;
height?: string | number;
width?: string | number;
size?: string;
command?: string;
imgHeight?: string | number;
imgWidth?: string | number;
}
declare const IrisImage: FC<IrisImageProps>;
export default IrisImage;