import type { AnyDocument } from "@/lib/types"; import { Link } from "@tanstack/react-router"; export type Props = { doc: AnyDocument; title: string; description?: string; }; /** * Renders a simple row that links to the document */ export const BasicRow = ({ doc, title, description }: Props) => { return (
  • {title}

    {description &&

    {description}

    }
  • ); };