import { Badge } from '#/components/atoms/badge.jsx'; import { Link } from '#/components/atoms/link.jsx'; import { TextLink } from '#/components/molecules/text-link.jsx'; import { bytes, dateTime } from '#/lib/format.js'; import { parseAtUri } from '#/lib/record-link.js'; /** * The records this file appears in, each opening in the records browser. A * file no record points at is flagged instead: the link table is this server's * bookkeeping, so it is phrased as what is known, not a promise. */ function UsedBy({ records, recordHref, onNavigate }) { if (!records.length) { return (
No record points at this file. Unused files are cleaned up automatically.