/** @jsx jsx */
import { Flex, Box, Text, jsx } from "theme-ui"
import {
FaCalendar as DateIcon,
FaClock as TimeToReadIcon,
FaPencilAlt as WordCountIcon,
} from 'react-icons/fa'
import { IconContext } from 'react-icons'
const Info = ({ children }) => (
{ children.icon }
{ children.info }
)
const PostDate = ({ post }) => (
{{
icon: ,
info: post.date
}}
{{
icon: ,
info: `${post.wordCount} words`
}}
{{
icon: ,
info: `${post.timeToRead} minutes`
}}
)
export default PostDate