(key: unknown)
| 544 | const isPageExpanded = (index: number) => |
| 545 | expandedPages().includes(index) || matchingPage() === index |
| 546 | const childSearch = (key: unknown): ExplorerSearch | undefined => { |
| 547 | const search = props.search |
| 548 | const match = search?.match.children.get(key) |
| 549 | return search && match ? { term: search.term, match } : undefined |
| 550 | } |
| 551 | const label = () => ( |
| 552 | <HighlightedText |
| 553 | text={props.label} |