/**
 * tdesign v0.32.0
 * (c) 2021 tdesign
 * @license MIT
 */

import Vue from 'vue';

var ConfigProvider = Vue.extend({
  name: "TConfigProvider",
  props: {
    globalConfig: Object
  },
  provide: function provide() {
    return {
      globalConfig: this.globalConfig
    };
  },
  render: function render() {
    var h = arguments[0];

    if (this.$slots["default"].length === 1) {
      return this.$slots["default"][0];
    }

    return h("div", [this.$slots["default"]]);
  }
});

export { ConfigProvider as default };
//# sourceMappingURL=config-provider.js.map
