lulouis-vant
Version:
Lightweight Mobile UI Components built on Vue
29 lines (27 loc) • 503 B
JavaScript
import { use } from '../utils';
var _use = use('badge-group'),
sfc = _use[0],
bem = _use[1];
export default sfc({
props: {
activeKey: {
type: [Number, String],
default: 0
}
},
provide: function provide() {
return {
vanBadgeGroup: this
};
},
data: function data() {
return {
badges: []
};
},
render: function render(h) {
return h("div", {
"class": [bem(), 'van-hairline--top-bottom']
}, [this.$slots.default]);
}
});