import * as React from "react";
import * as d from "../../localData";
import { CSSObject, css } from "@emotion/css";
import { pngFilePath } from "../../common/url";
export const Image: React.VFC<{
imageHash: d.ImageHash;
alt: string;
width: number;
height: number;
isCircle?: boolean;
}> = React.memo((props) => {
const cssObject: CSSObject = {
width: props.width,
height: props.height,
backgroundColor: "#66a2a5",
borderRadius: props.isCircle ? "50%" : 0,
};
return (
);
});
Image.displayName = "Image";
export const ImageSkeleton: React.VFC<{
width: number;
height: number;
}> = React.memo((props) => {
return (