import { ITreeItemBadge } from "./ITreeItemBadge";
export interface ITreeItem {
  id: string;
  label: string;
  bold?: boolean;
  children?: Array<ITreeItem> | ((item: ITreeItem) => Promise<Array<ITreeItem>>);
  childrenCount?: number;
  iconExpanded?: string;
  iconContracted?: string;
  tooltip?: string;
  expanded?: boolean;
  disabled?: boolean;
  badge?: "error" | "warning" | "success" | ITreeItemBadge | null;
  props?: any;
}
