feat(arch): exposed createIcon function

This commit is contained in:
NicolasNewman
2024-04-11 12:22:34 -05:00
parent 073175e5f7
commit 497712a3fa

View File

@@ -16,6 +16,7 @@ import type { DetailedError } from './utils.js';
import type { ExternalDiagramDefinition } from './diagram-api/types.js';
import type { UnknownDiagramError } from './errors.js';
import type { IconLibrary, IconResolver } from './rendering-util/svgRegister.js';
import { createIcon } from './rendering-util/svgRegister.js';
import { addDiagrams } from './diagram-api/diagram-orchestration.js';
export type {
@@ -31,6 +32,8 @@ export type {
IconResolver
};
export { createIcon }
export interface RunOptions {
/**
* The query selector to use when finding elements to render. Default: `".mermaid"`.