Skip to content

Function: getIconForFolder()

ts
function getIconForFolder(
  folderName: string,
  opened: boolean,
  light: boolean,
): string;

Returns the icon URL for a specific folder name, or the default if not found.

Parameters

ParameterTypeDefault valueDescription
folderNamestringundefinedThe name of the folder.
openedbooleanfalse-
lightbooleantrue-

Returns

string

The URL string for the folder icon.