refs #6416 feat: VnChip
This commit is contained in:
parent
89b6c50b97
commit
dadc03392d
|
@ -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>
|
Loading…
Reference in New Issue