Skip to content

Commit

Permalink
Simplified badge
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Dec 10, 2020
1 parent ab69349 commit 1222387
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/components/badge/Badge.vue
Original file line number Diff line number Diff line change
@@ -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>
Expand Down

0 comments on commit 1222387

Please sign in to comment.