import React from 'react'; import { useRouter } from 'next/router' interface BackLinksProps { linkList: unknown[] } function BackLinks({ linkList }) { return (

Link to this note

{(linkList != null && linkList.length > 0) ? <>
{linkList.map(aLink =>
{/**/}

{aLink.title}

{aLink.shortSummary}

{/**/}
)}
: <>

No backlinks found

}
); } interface MDContentProps { content: string backLinks: unknown[] } function MDContent({ content, backLinks }: MDContentProps) { useRouter(); return (

Powered by Triston, © {new Date().getFullYear()}

); } function BackLinksGroup({ links }) { if (!links?.length) { return (

No backlinks found

) } return (
BackLinks
) } export default MDContent;