import Component from '@glimmer/component';
import {
disableCache,
addIcon,
addCollection,
} from '@iconify/ember/components/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'
addIcon('demo', playIcon);
addIcon('experiment2', {
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 = presentationPlay;
}