/** @jsx jsx */ import { Link } from 'gatsby' import { FaCalendar as DateIcon } from 'react-icons/fa' import { Card, Flex, Heading, jsx, Text } from 'theme-ui' import Tags from './tags' interface Props { title: string; slug: string; category: string; date: Date; excerpt: string; tags: string[]; } const PostLink = ({ title, category, slug, date, excerpt, tags }: Props) => (
{category}
{title}
{excerpt}
) export default PostLink