sd-treeview
Version:
simple folders and files view in tree-view formate
25 lines (24 loc) • 493 B
TypeScript
export interface FolderStructure {
name: string;
address?: string;
folder: boolean;
children: (FileStructure | FolderStructure)[];
isPress: boolean;
istextPress: boolean;
}
export interface FileStructure {
name: string;
address?: string;
folder: boolean;
icon: string;
iconCss?: IconCss;
textCss?: TextCss;
}
export interface IconCss {
color?: string;
size?: string;
}
export interface TextCss {
color?: string;
size?: string;
}