import { Link } from "react-router-dom"; export type PublicRelation = Readonly<{ /** 왜 걸려 있는지 — 관계 묶음의 사람이 읽는 이름. */ reason: string; title: string; path: string; /** 대상 문서의 요약. 눌러 보지 않고도 무엇인지 알게 한다. */ summary?: string; }>; export function PublicDocumentRelations({ relations, kicker = "Relations", title = "이 기록과 연결된 맥락", }: { relations: ReadonlyArray; kicker?: string; title?: string; }) { if (relations.length === 0) return null; return (

{kicker}

{title}

); }