wix-style-react
Version:
17 lines (13 loc) • 429 B
TypeScript
import * as React from 'react';
export type ImageFit = 'contain' | 'cover' | 'tile' | 'none';
export interface ImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
borderRadius?: React.CSSProperties['borderRadius'];
dataHook?: string;
className?: string;
fit?: ImageFit;
position?: string;
showBorder?: boolean;
transparent?: boolean;
}
declare const Image: React.FC<ImageProps>;
export default Image;