Vizel API / core/src / renderVizelIcon
Function: renderVizelIcon()
ts
function renderVizelIcon(name, options?): string;Defined in: packages/core/src/icons/types.ts:353
Render an internal icon as an SVG string. Uses the injected renderer from framework packages.
Parameters
| Parameter | Type | Description |
|---|---|---|
name | VizelInternalIconName | The internal icon name |
options? | VizelIconRendererOptions | Optional rendering options (width, height) |
Returns
string
The SVG string, or empty string if no renderer is set