Simplified badge

pull/800/head
Cagatay Civici 2020-12-10 15:53:47 +03:00
parent ab69349124
commit 1222387019
1 changed files with 1 additions and 8 deletions

View File

@ -1,12 +1,5 @@
<template>
<span :class="containerClass">
<template v-if="!$slots.default">{{value}}</template>
<template v-else>
<slot>
</slot>
<span :class="badgeClass">{{value}}</span>
</template>
</span>
<span :class="badgeClass">{{value}}</span>
</template>
<script>