grommet
Version:
focus on the essential experience
20 lines (16 loc) • 496 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 };