UNPKG

@dialpad/dialtone

Version:

Dialpad's Dialtone design system monorepo

39 lines (38 loc) 1.11 kB
import DtIconHash from "@dialpad/dialtone-icons/vue2/hash"; import DtIconLock from "@dialpad/dialtone-icons/vue2/lock"; import normalizeComponent from "../../../../_virtual/_plugin-vue2_normalizer.js"; import DtStack from "../../../stack/stack.vue.js"; const _sfc_main = { name: "ChannelSuggestion", components: { DtStack, DtIconHash, DtIconLock }, props: { item: { type: Object, required: true } }, computed: { name() { return this.item.name; } } }; var _sfc_render = function render() { var _vm = this, _c = _vm._self._c; return _c("dt-stack", { attrs: { "direction": "row", "gap": "400" } }, [!_vm.item.locked ? _c("dt-icon-hash", { attrs: { "size": "300" } }) : _c("dt-icon-lock", { attrs: { "size": "300" } }), _c("span", [_vm._v(_vm._s(_vm.name))])], 1); }; var _sfc_staticRenderFns = []; var __component__ = /* @__PURE__ */ normalizeComponent( _sfc_main, _sfc_render, _sfc_staticRenderFns ); const ChannelSuggestion = __component__.exports; export { ChannelSuggestion as default }; //# sourceMappingURL=ChannelSuggestion.vue.js.map