// #region Imports
import { html } from '../../../../Dom/Html';
import { when } from '../../../Directives/Directives';
// #endregion
/**
 * The template of the `PipElement`.
 *
 * @public
 */
export function pipElementTemplate(e) {
    return html `
        ${when(e.icon.trim(), () => html `
        <mosaik-icon part="icon"
                     .data="${e.icon}"
                     .size="${e.iconSize}"
                     ?inline="${true}"></mosaik-icon>
        `, () => html `
        <mosaik-text part="label"
                     .text="${e.text}"></mosaik-text>
        `)}
    `;
}
//# sourceMappingURL=PipElementTemplate.js.map