Hierarchy

  • TopicHookReturn

Properties

handleClose: (() => void)

Type declaration

    • (): void
    • The function to close a node

      Returns void

handleOpen: (() => void)

Type declaration

    • (): void
    • The function to open a node

      Returns void

isOpen: boolean

The bool value if a node is open

lmsId: number

The lms id of a node

mapNodes: ((learningPathData, learningPathStatus, nodesGrouped?) => {
    edges: Edge[];
    nodes: Node[];
})

Type declaration

    • (learningPathData, learningPathStatus, nodesGrouped?): {
          edges: Edge[];
          nodes: Node[];
      }
    • The function to map the learning path to nodes and edges

      Parameters

      Returns {
          edges: Edge[];
          nodes: Node[];
      }

      • edges: Edge[]
      • nodes: Node[]
title: string

The title of a node

url: string

The url of a node

Generated using TypeDoc