Type alias IconPath

IconPath: Uri | {
    dark: Uri;
    light: Uri;
} | ThemeIcon

Represents an icon in the UI. This is either an uri, separate uris for the light- and dark-themes, or a theme icon.

Type declaration

  • dark: Uri

    The icon path for the dark theme.

  • light: Uri

    The icon path for the light theme.