UNPKG

@dialpad/dialtone

Version:

Dialpad's Dialtone design system monorepo

37 lines (36 loc) 1.12 kB
import normalizeComponent from "../../../../_virtual/_plugin-vue2_normalizer.js"; const _sfc_main = { name: "SlashCommandSuggestion", props: { item: { type: Object, required: true } }, computed: { command() { return this.item.command; }, description() { return this.item.description; }, parametersExample() { return this.item.parametersExample; } } }; var _sfc_render = function render() { var _vm = this, _c = _vm._self._c; return _c("div", [_c("div", { staticClass: "d-body--md-compact" }, [_c("span", [_vm._v("/" + _vm._s(_vm.command))]), _vm.parametersExample ? _c("span", [_vm._v(" " + _vm._s(_vm.parametersExample))]) : _vm._e()]), _c("div", { staticClass: "d-body--sm d-fc-tertiary" }, [_vm._v(" " + _vm._s(_vm.description) + " ")])]); }; var _sfc_staticRenderFns = []; var __component__ = /* @__PURE__ */ normalizeComponent( _sfc_main, _sfc_render, _sfc_staticRenderFns ); const SlashCommandSuggestion = __component__.exports; export { SlashCommandSuggestion as default }; //# sourceMappingURL=SlashCommandSuggestion.vue.js.map