Skip to main content

IconPath

type

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

type IconPath = Uri | { /** * The icon path for the light theme. */ light: Uri; /** * The icon path for the dark theme. */ dark: Uri; } | ThemeIcon

Import

import { IconPath } from '@modular/sdk/editor';