@cisstech/nge
Version:
NG Essentials is a collection of libraries for Angular developers.
37 lines (36 loc) • 751 B
TypeScript
export interface DefaultIcon {
/**
* Name of the icon, e.g. 'src'
*/
name: string;
}
export interface FileIcon {
/**
* Name of the icon, e.g. 'javascript'
*/
name: string;
/**
* Define the file extensions that should use this icon.
* E.g. ['js']
*/
fileExtensions?: string[];
/**
* Define if there are some static file names that should apply this icon.
* E.g. ['sample.js']
*/
fileNames?: string[];
}
export interface FileTheme {
/**
* Define the default icon for folders.
*/
defaultIcon: DefaultIcon;
/**
* Defines all folder icons.
*/
icons: FileIcon[];
}
/**
* Defines file icons
*/
export declare const FILE_THEME: FileTheme;