--- import type { CollectionEntry } from 'astro:content' import PostPreview from './PostPreview.astro' export type Props = { posts: CollectionEntry<'blog'>[] } const { posts } = Astro.props --- { posts.map((post) => ( )) }