// #region Imports
import { html } from '../../../../Dom/Html';
import { TextOverflow } from '../../../Types/TextOverflow';
// #endregion
/**
 * @public
 */
export function errorElementTemplate(e) {
    return html `
        <div part="root">
            <slot name="icon"></slot>
            <mosaik-text part="text"
                         .text="${e.text}"
                         ?truncate="${e.textOverflow === TextOverflow.Truncate}"
                         ?wrap="${e.textOverflow === TextOverflow.Wrap}"></mosaik-text>
        </div>
    `;
}
//# sourceMappingURL=ErrorElementTemplate.js.map