# CategoryDocumentList

**Kind:** Component

**Source:** [`atloria-monorepo/apps/web/src/components/PublishingSidebar/CategoryDocumentList.tsx`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/web/src/components/PublishingSidebar/CategoryDocumentList.tsx#L53)

## Props

| Name | Type | Required | Default |
|---|---|---|---|
| `categories` | `CategoryNode[]` | ✓ | - |
| `selectedDocument` | `string | null` | ✓ | - |
| `onSelectDocument` | `Function` | ✓ | - |
| `onHoverDocument` | `Function` | - | - |
| `loading` | `boolean` | - | false |
| `lang` | `string` | - | - |

## Diagram

```mermaid
graph TD
    component_CategoryDocumentList_61ceec8a["CategoryDocumentList"]
    class component_CategoryDocumentList_61ceec8a rootComponent
```

## Relationships

- RENDERS → `FileText`
- RENDERS → `ChevronDown`
- RENDERS → `ChevronRight`
- RENDERS → `CategoryIcon`
- RENDERS → `FolderOpen`
- RENDERS → `Folder`
- USES_HOOK → `useState`
- USES_HOOK → `useRef`
- USES_HOOK → `useMemo`
- USES_HOOK → `useEffect`
