Type Alias TreeDataStandard<T, P>

TreeDataStandard<T, P>: {
    children?: TreeDataStandard<T, P>[];
    data: T;
    key: string;
    level: number;
    parentKey?: string;
    title: string;
} & P

Type Parameters

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