import Avatar from "./avatar";
import Date from "./date";
import CoverImage from "./cover-image";
import PostTitle from "./post-title";
import Categories from "./categories";
import AuthorType from "../types/authorType";
type Props = {
title: string;
coverImage: string;
date: string;
author: AuthorType;
categories: string[];
};
export default function PostHeader({
title,
coverImage,
date,
author,
categories,
}: Props) {
return (
<>