Skip to content

Commit

Permalink
feat: export loadIcons
Browse files Browse the repository at this point in the history
  • Loading branch information
nuke-ellington committed Jan 8, 2025
1 parent d11ff00 commit 47fc379
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/icon/resolveIcon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export const getIconCacheMap = (): Map<string, string> => {
window.IxIcons = window.IxIcons || {};
fetchCache = window.IxIcons.map = window.IxIcons.map || new Map();
}

return fetchCache;
};

Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export type { Components, JSX } from './components';
export * from './components/icon/icon';
export { loadIcons } from './components/icon/resolveIcon';
export { setAssetPath } from '@stencil/core';

0 comments on commit 47fc379

Please sign in to comment.