import { html } from '@melodicdev/core';
import { PHOSPHOR_ICON_MAP } from './icon.map.js';
export const iconTemplate = (c) => {
    const className = c.format === 'regular' ? 'ph' : `ph-${c.format}`;
    const codepoint = PHOSPHOR_ICON_MAP[c.icon] ?? '';
    return html `<i class="${className}">${codepoint}</i>`;
};
