"use client"; import { m, useReducedMotion } from "motion/react"; import { PostCard } from "./PostCard"; import type { PostMeta } from "@/lib/posts"; const listVariants = { hidden: {}, visible: { transition: { staggerChildren: 0.07, delayChildren: 0.15, }, }, }; interface PostListProps { posts: PostMeta[]; } export function PostList({ posts }: PostListProps) { const shouldReduceMotion = useReducedMotion(); return ( {posts.map((post, index) => (
  • ))}
    ); }