(count: number)
| 626 | } |
| 627 | |
| 628 | export function citationCount(count: number): string { |
| 629 | return count === 1 ? '1 citation' : `${count} citations`; |
| 630 | } |
| 631 | |
| 632 | /** Count beside a section heading, so a long list is readable while collapsed. */ |
| 633 | export function rowCountLabel(count: number): string { |