UNPKG

@useloops/design-system

Version:

The official React based Loops design system

16 lines (13 loc) 476 B
import { SxProps, Theme } from '@mui/material'; import { FunctionComponent, ImgHTMLAttributes } from 'react'; interface ImageProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'width' | 'height'> { containerSx?: SxProps<Theme>; src?: string; width?: string | number; height?: string | number; threshold?: number; rootMargin?: string; } declare const Image: FunctionComponent<ImageProps>; export { Image as default }; export type { ImageProps };