import _mergeJSXProps from "@vue/babel-helper-vue-jsx-merge-props";
import "../../../src/scss/badge.scss";
import Vue from 'vue';
export default Vue.extend({
  name: 'w-badge',
  functional: true,
  props: {
    color: String,
    isDot: Boolean
  },
  render: function render(h, context) {
    var style = {
      backgroundColor: context.props.color
    };
    return h("span", _mergeJSXProps([{
      "class": {
        'weui-badge': true,
        'weui-badge_dot': context.props.isDot
      },
      "style": style
    }, context.data]), [!context.props.isDot && context.children]);
  }
});
//# sourceMappingURL=WBadge.js.map