refs #6416 feat: VnChip

This commit is contained in:
Javier Segarra 2023-11-08 04:09:43 +01:00
parent 89b6c50b97
commit dadc03392d
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
<script setup>
import { useI18n } from 'vue-i18n';
const $props = defineProps({
class: { type: String, require: true, default: null },
color: { type: String, require: true, default: null },
title: { type: String, require: true, default: null },
});
const { t } = useI18n();
</script>
<template>
<QChip dense :class="$props.class" :color="$props.color" :title="$props.title">
<slot name="body"> </slot
></QChip>
</template>
<style lang="scss" scoped></style>