UNPKG

winbox-ui-next

Version:

We Design Vue 2.0: A Vue.js 3 UI Library

33 lines (32 loc) 875 B
import { defineComponent, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue"; import { getPrefixCls } from "../_utils/global-config.js"; import _export_sfc from "../_virtual/plugin-vue_export-helper"; const _sfc_main = defineComponent({ name: "TabPane", props: { title: String, disabled: { type: Boolean, default: false }, closable: { type: Boolean, default: true } }, setup() { const prefixCls = getPrefixCls("tabs-pane"); return { prefixCls }; } }); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createElementBlock("div", { class: normalizeClass(_ctx.prefixCls) }, [ renderSlot(_ctx.$slots, "default") ], 2); } var TabPane = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); export { TabPane as default };