UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

18 lines (17 loc) 838 B
export declare function filenameFromPath(path: string): string; export declare function getIconNameForFileName(fileName: string): string; export declare function getIconNameForDirectoryName(dirName: string): string; export declare function getIconForFilePath(path: string): string; export declare function getIconForDirectoryPath(path: string): string; export declare function getIconUrlByName(iconName: string, iconsUrl: string, open?: boolean): string; export declare function getIconUrlForFilePath({ path, iconsUrl, fallbackUnknownType, }: { fallbackUnknownType: boolean; iconsUrl: string; path: string; }): string; export declare function getIconUrlForDirectoryPath({ path, iconsUrl, open, fallbackUnknownType, }: { fallbackUnknownType: boolean; iconsUrl: string; open?: boolean; path: string; }): string;