grommet
Version:
focus on the essential experience
16 lines (12 loc) • 950 B
TypeScript
import * as React from "react";
export interface ImageProps {
a11yTitle?: string;
alignSelf?: "start" | "center" | "end" | "stretch";
fit?: "cover" | "contain";
fallback?: string;
gridArea?: string;
margin?: "none" | "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | {bottom?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,horizontal?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,left?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,right?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,top?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,vertical?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string} | string;
opacity?: "weak" | "medium" | "strong" | string | boolean;
}
declare const Image: React.FC<ImageProps & JSX.IntrinsicElements['img']>;
export { Image };