@blinkk/selective-edit
Version:
Selective structured text editor.
32 lines • 1.17 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.templateWarning = exports.templateInfo = exports.templateError = void 0;
const lit_html_1 = require("lit-html");
function templateError(message) {
return (0, lit_html_1.html) `<div class="selective__error">
<div class="selective__error__icon">
<span class="material-icons">error</span>
</div>
<div class="selective__error__message">${message}</div>
</div>`;
}
exports.templateError = templateError;
function templateInfo(message) {
return (0, lit_html_1.html) `<div class="selective__info">
<div class="selective__info__icon">
<span class="material-icons">info</span>
</div>
<div class="selective__info__message">${message}</div>
</div>`;
}
exports.templateInfo = templateInfo;
function templateWarning(message) {
return (0, lit_html_1.html) `<div class="selective__warning">
<div class="selective__warning__icon">
<span class="material-icons">warning</span>
</div>
<div class="selective__warning__message">${message}</div>
</div>`;
}
exports.templateWarning = templateWarning;
//# sourceMappingURL=template.js.map