import Vue from 'vue';
import "../../../src/scss/loadmore.scss";
import WVSpinner from "../WSpinner";
export default Vue.extend({
  name: 'w-loadmore',
  props: {
    type: {
      type: String,
      default: 'default'
    },
    text: {
      type: String,
      default: '正在加载'
    }
  },
  render: function render() {
    var h = arguments[0];
    return h("div", {
      "class": {
        'weui-loadmore': true,
        'weui-loadmore_line': this.type === 'line' || this.type === 'lineDot',
        'weui-loadmore_dot': this.type === 'lineDot'
      }
    }, [this.type === 'default' && h(WVSpinner, {
      "attrs": {
        "type": "default"
      }
    }), h("span", {
      "class": "weui-loadmore__tips",
      "domProps": {
        "textContent": this.type === 'lineDot' ? '' : this.text
      }
    })]);
  }
});
//# sourceMappingURL=WLoadmore.js.map