UNPKG

@dialpad/dialtone

Version:

Dialpad's Dialtone design system monorepo

41 lines (40 loc) 1.42 kB
import { openBlock, createElementBlock, createElementVNode, toDisplayString, createCommentVNode } from "vue"; import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js"; const _sfc_main = { compatConfig: { MODE: 3 }, name: "SlashCommandSuggestion", props: { item: { type: Object, required: true } }, computed: { command() { return this.item.command; }, description() { return this.item.description; }, parametersExample() { return this.item.parametersExample; } } }; const _hoisted_1 = { class: "d-body--md-compact" }; const _hoisted_2 = { key: 0 }; const _hoisted_3 = { class: "d-body--sm d-fc-tertiary" }; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createElementBlock("div", null, [ createElementVNode("div", _hoisted_1, [ createElementVNode("span", null, "/" + toDisplayString($options.command), 1), $options.parametersExample ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString($options.parametersExample), 1)) : createCommentVNode("", true) ]), createElementVNode("div", _hoisted_3, toDisplayString($options.description), 1) ]); } const SlashCommandSuggestion = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); export { SlashCommandSuggestion as default }; //# sourceMappingURL=SlashCommandSuggestion.vue.js.map