getIcon() function
Create an SVG from an iconId. Returns null if no icon associated with the iconId.
Signature:
export function getIcon(iconId: string): SVGSVGElement | null;Parameters
| Parameter | Type | Description |
|---|---|---|
iconId | string | the icon ID |
Returns:
SVGSVGElement`` | null