import React from 'react' import Image from 'next/image' import { MapCardView } from './MapCardView' interface MapCardInterface { title: string, subtitle: string, statistic?: string, imgSource: string, } export default function MapCard({ title, subtitle, statistic, imgSource }: MapCardInterface) { return (

{title}

{subtitle}
{ statistic? <>

{statistic}

: null }
) }