Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
This method creates an IconInfo object from a relative path. This is useful for loading icons that have different appearances based on the current theme.
Parameters
path String
The relative path to the icon. This path should point to an image file can be used for both light and dark themes.
Returns
An IconInfo object that contains the light and dark mode icons.
Windows developer