primevue-mirror/packages/primevue/src/badge/Badge.vue

16 lines
270 B
Vue
Raw Normal View History

2022-09-06 12:03:37 +00:00
<template>
2024-02-11 08:10:29 +00:00
<span :class="cx('root')" v-bind="ptmi('root')">
2022-09-14 11:26:01 +00:00
<slot>{{ value }}</slot>
2022-09-06 12:03:37 +00:00
</span>
</template>
<script>
2023-05-25 06:38:12 +00:00
import BaseBadge from './BaseBadge.vue';
2022-09-06 12:03:37 +00:00
export default {
name: 'Badge',
2024-02-11 08:10:29 +00:00
extends: BaseBadge,
inheritAttrs: false
2022-09-14 11:26:01 +00:00
};
2022-09-06 12:03:37 +00:00
</script>