Skip to content

CategoryTreeSidebar

reference
1 min readUpdated

Kind: Component

Source: atloria-monorepo/apps/web/src/components/Categories/CategoryTreeSidebar.tsx

Props

NameTypeRequiredDefault
projectIdstring-
selectedCategoryId`stringnull`-
onSelectCategoryFunction-
onCreateCategoryFunction--
onEditCategoryFunction--
onDeleteCategoryFunction--
editModeboolean-false
onReorderCategoriesFunction--

Diagram

mermaid
graph TD
    component_CategoryTreeSidebar_40c8abcf["CategoryTreeSidebar"]
    class component_CategoryTreeSidebar_40c8abcf rootComponent

Relationships

  • RENDERS → ErrorState
  • RENDERS → MagnifyingGlassIcon
  • RENDERS → XMarkIcon
  • RENDERS → DocumentTextIcon
  • RENDERS → DndContext
  • RENDERS → SortableContext
  • RENDERS → CategoryNode
  • RENDERS → PlusIcon
  • USES_HOOK → useSession
  • USES_HOOK → useAPIClient
  • USES_HOOK → useState
  • USES_HOOK → useSensors
  • USES_HOOK → useSensor
  • USES_HOOK → useCallback
  • USES_HOOK → useMemo
  • USES_HOOK → useEffect

Was this page helpful?

Download as PDF