import Link from "next/link"; import { NoteMeta } from "../util/slug"; function RecentNotes({ notesMeta }: { notesMeta: NoteMeta[] }) { return (<>
Recent Notes
{notesMeta?.slice(0, 10) .map((note: any) => { return {note.title} }) } { notesMeta.length > 10 &&
More...
} ); } export default RecentNotes;