import { ImgHTMLAttributes } from 'react'; export interface IImageProps extends ImgHTMLAttributes { /** * Provides alternative information if a user cannot view the image, * e.g. because of slow connection, an error in the src attribute, or if the * user uses a screen reader. */ alt: string; /** * Sets the border radius of an image * @default 0 */ borderRadius?: string | number; /** * Sets the caption */ caption?: string; /** * Sets the height of an image * @default 'auto' */ height?: `${number}%` | 'auto' | number; /** * Sets the objectFit property * @default 'initial' */ objectFit?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down' | 'inherit' | 'initial' | 'revert' | 'unset'; /** * Sets the objectPosition property * @default 'initial' */ objectPosition?: 'bottom' | 'center' | 'left' | 'right' | 'top' | 'left bottom' | 'left top' | 'right bottom' | 'right top' | 'center bottom' | 'center top' | 'center left' | 'center right' | 'inherit' | 'initial' | 'revert' | 'unset'; /** * Specifies the source URL of an image */ src: string; /** * Specifies srcSet URLs for the image */ srcSet?: string; /** * Sets the width of an image * @default 'auto' */ width?: `${number}%` | 'auto' | number; } //# sourceMappingURL=types.d.ts.map