# SortableDocumentList

**Kind:** Component

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

## Props

| Name | Type | Required | Default |
|---|---|---|---|
| `categories` | `CategoryGroup[]` | ✓ | - |
| `selectedDocument` | `string | null` | ✓ | - |
| `onSelectDocument` | `Function` | ✓ | - |
| `onReorder` | `Function` | ✓ | - |
| `loading` | `boolean` | - | false |
| `loadingProgress` | `unknown` | - | {} |
| `processing` | `boolean` | - | false |
| `editMode` | `boolean` | - | false |

## Diagram

```mermaid
graph TD
    component_SortableDocumentList_68686a96["SortableDocumentList"]
    class component_SortableDocumentList_68686a96 rootComponent
```

## Relationships

- RENDERS → `FileText`
- RENDERS → `CategoryIcon`
- RENDERS → `Folder`
- RENDERS → `DndContext`
- RENDERS → `SortableContext`
- RENDERS → `SortableDocumentItem`
- USES_HOOK → `useSensors`
- USES_HOOK → `useSensor`
