• Type Parameters

    • T = unknown

    Parameters

    • treeData: T[]
    • mapper: ((node: T) => any)
        • (node): any
        • Parameters

          • node: T

          Returns any

    • childrenProp: string = 'children'

    Returns any[]