various-ui
Version:
This is a test version of the Vue 3 component library
42 lines (39 loc) • 1.39 kB
JavaScript
import _sfc_main from './message.vue2.mjs';
import { resolveComponent, openBlock, createBlock, Transition, withCtx, createElementVNode, normalizeClass, normalizeStyle, createCommentVNode, toDisplayString } from 'vue';
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.mjs';
const _hoisted_1 = { class: "ui-message-content" };
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_UiIcon = resolveComponent("UiIcon");
return openBlock(), createBlock(Transition, { appear: true }, {
default: withCtx(() => [
createElementVNode(
"div",
{
class: normalizeClass(["ui-message", _ctx.className]),
style: normalizeStyle(_ctx.styles)
},
[
_ctx.icon ? (openBlock(), createBlock(_component_UiIcon, {
key: 0,
class: "ui-message-icon",
name: _ctx.icon
}, null, 8, ["name"])) : createCommentVNode("v-if", true),
createElementVNode(
"div",
_hoisted_1,
toDisplayString(_ctx.message),
1
/* TEXT */
)
],
6
/* CLASS, STYLE */
)
]),
_: 1
/* STABLE */
});
}
var Message = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export { Message as default };
//# sourceMappingURL=message.vue.mjs.map