UNPKG

@spicy-ui/core

Version:

A themable and extensible React UI library, ready to use out of the box

12 lines (11 loc) 585 B
import * as React from 'react'; import { SxProp } from '../../system'; export interface ImageProps extends React.ImgHTMLAttributes<HTMLImageElement>, SxProp { /** Fallback component for the image. This is shown when the image is loading. */ fallback?: React.ReactElement; /** Fallback src image. If you intend to use this instead of a component, it's advised to use a data src. */ fallbackSrc?: string; /** Image src. */ src?: string; } export declare const Image: React.ForwardRefExoticComponent<ImageProps & React.RefAttributes<HTMLImageElement>>;