Skip to main content

resolveIcon

function

Resolve an icon component by its export name (e.g. 'IconFolderOutline24', 'CodiconAccount'). Used to restore cached icon references across sessions.

function resolveIcon(name: string): ComponentType<SVGAttributes<SVGElement>> | undefined

Import

import { resolveIcon } from '@modular/sdk/ui';