Interface TreeDataStandardConfig<T, P>

interface TreeDataStandardConfig<T, P> {
    children?: string;
    extra?: ((node: T, level: number) => P);
    key?: string;
    parentKey?: string;
    title?: string;
}

Type Parameters

  • T = Record<string, any>
  • P = {}

Properties

children?: string
extra?: ((node: T, level: number) => P)

Type declaration

    • (node, level): P
    • Parameters

      • node: T
      • level: number

      Returns P

key?: string
parentKey?: string
title?: string