import type { Note } from "$lib/model"; import { A } from "@solidjs/router"; import type { Component } from "solid-js"; import { For, Show } from "solid-js"; type BacklinksPanelProps = { backlinks: Note[] }; /** * Panel showing notes that link TO the current note (incoming references) */ export const BacklinksPanel: Component = (props) => { return (

Backlinks 0}> ({props.backlinks.length})

0} fallback={

No incoming links

}>
); }; export default BacklinksPanel;