@dotconnor/grommet
Version:
focus on the essential experience
24 lines (20 loc) • 504 B
TypeScript
import * as React from 'react';
import {
A11yTitleType,
AlignSelfType,
FillType,
GridAreaType,
MarginType,
} from '../../utils';
export interface ImageProps {
a11yTitle?: A11yTitleType;
alignSelf?: AlignSelfType;
fallback?: string;
fill?: FillType;
fit?: 'cover' | 'contain';
gridArea?: GridAreaType;
margin?: MarginType;
opacity?: 'weak' | 'medium' | 'strong' | string | boolean;
}
declare const Image: React.FC<ImageProps & JSX.IntrinsicElements['img']>;
export { Image };