import Component from '@glimmer/component'; import { disableCache, addIcon, addCollection } from 'iconify-icon'; import presentationPlay from '@iconify-icons/mdi-light/presentation-play'; import playIcon from '@iconify-icons/mdi-light/play'; // Disable cache to make sure icons are loaded from API disableCache('all'); // Add 'mdi-light:play' as 'demo-play' addIcon('demo-play', playIcon); addIcon('demo-test', { width: 16, height: 16, body: '', }); // Add few mdi-light: icons addCollection({ prefix: '', icons: { alert1: { body: '', }, link1: { body: '', }, }, width: 24, height: 24, }); export default class IconDemoComponent extends Component { iconData = JSON.stringify(presentationPlay); }