import React from 'react' import { withRouteData, Link } from 'react-static' import { Post } from '../types' interface Props { post: Post } export default withRouteData(({ post }: Props) => (
{'<'} Back

{post.title}

{post.body}

))