UNPKG

@ccos/webos-vue

Version:

A Web-Ui Framework for Skyworth/Coocaa TV

25 lines (24 loc) 679 B
import { openBlock, createElementBlock, normalizeClass, toDisplayString } from "vue"; import "./index40.mjs"; import _export_sfc from "./index34.mjs"; const _sfc_main = { __name: "badge", props: { type: String, //negative,warning size: String, //small,default,large text: String }, setup(__props) { return (_ctx, _cache) => { return openBlock(), createElementBlock("div", { class: normalizeClass([[__props.size, "type-" + __props.type], "tv-badge"]) }, toDisplayString(__props.text), 3); }; } }; const TvBadge = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e7a4c496"]]); export { TvBadge as default };