import classNames from "classnames" import Link from "next/link" export interface LinksProps { links: { title: string uri: string options?: [] }[] } export function Links({ links }: LinksProps) { if (!links.length) return null return (
{links.map((link, index) => ( {link.title} ))}
) }