import Author from 'types/author';
import Avatar from './avatar';
import CoverImage from './cover-image';
import DateFormatter from './date-formatter';
import PostTitle from './post-title';
type Properties = {
title: string;
coverImage: string;
date: string;
author: Author;
};
const PostHeader = ({
title,
coverImage,
date,
author,
}: Properties): JSX.Element => {
return (
<>