import React from 'react' import { Flex, Image } from 'theme-ui' import type { FC } from 'react' import LocalizedLink from '../LocalizedLink' interface Props { href: string alt: string src: string height?: string width?: string } const InfoCardImage: FC = ({ alt, src, href, height, width }) => { const linkProps = { as: LocalizedLink, to: href, variant: 'card.image.link', } return ( {alt} ) } export default InfoCardImage