import { normalizeDate } from "@/lib/date"; import type { TPostListItem } from "@/types/docs.type"; import { nanoid } from "nanoid"; import Link from "next/link"; import { Badge } from "../ui/badge"; export const PostList = (props: { data: TPostListItem[] }) => { return (
{postItem.frontMatter.summary}