import Link from "next/link"; import { getAllChilds, type BaseMdxFrontmatter } from "@/lib/markdown"; type OutletProps = { path: string; }; type ChildCardProps = BaseMdxFrontmatter & { href: string }; export default async function Outlet({ path }: OutletProps) { if (!path) { throw new Error("path not provided"); } const output = await getAllChilds(path); return (
{description}
); }