@kelvininc/ui-components
Version:
Kelvin UI Components
18 lines (17 loc) • 512 B
TypeScript
import { EIconName } from '../icon/icon.types';
import { ETreeItemState } from '../tree-item/tree-item.types';
import { EBadgeState } from '../badge/badge.types';
export interface ITreeNodeItem {
id: string;
label?: string;
additionalLabel?: string;
placeholder?: string;
icon?: EIconName;
iconState?: ETreeItemState;
counter?: number;
counterState?: EBadgeState;
lazyLoadChildren?: boolean;
metadata?: any;
children?: ITreeNodeItem[];
preventDefault?: boolean;
}