💻 | Rename components

This commit is contained in:
2021-04-08 22:04:20 +02:00
parent 249c675db8
commit 09abc1ea9c
7 changed files with 5 additions and 5 deletions

28
src/components/Tag.vue Normal file
View File

@@ -0,0 +1,28 @@
<template>
<div
class="px-2 py-0.5 rounded-full bg-gray-200 text-sm text-gray-800 dark:(bg-gray-700 text-gray-300)"
:class="pill === true ? 'px-2 py-0.5 rounded-full' : 'px-2 py-1 rounded-md'"
>
{{ $t(content) }}
</div>
</template>
<script lang="ts">
export default {
name: "TagPreview",
props: {
content: {
type: String,
default: "Content"
},
pill: {
type: Boolean,
default: true
}
},
}
</script>
<style scoped lang="scss">
</style>