import React, { memo } from "react";
import { MdInfoOutline } from "react-icons/md";
import { Flex, Image, Text, ThemeUIStyleObject } from "theme-ui";
const MemoedImage = memo<{ src: string | undefined }>(({ src }) => (
));
interface ScreenshotPreviewProps {
src?: string;
sx: { height: string | number } & ThemeUIStyleObject;
}
export const ScreenshotPreview: React.FC = ({
src,
sx,
}) => {
return (
{src !== undefined ? (
) : (
You have no screenshot yet.
)}
);
};