1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

29 lines
405 B
JavaScript

import { use } from '../utils';
const [sfc, bem] = use('badge-group');
export default sfc({
props: {
activeKey: {
type: [Number, String],
default: 0
}
},
provide() {
return {
vanBadgeGroup: this
};
},
data() {
return {
badges: []
};
},
render(h) {
return <div class={[bem(), 'van-hairline--top-bottom']}>{this.slots()}</div>;
}
});