This commit is contained in:
mertsincan 2024-02-11 08:10:29 +00:00
parent a9164bdbde
commit dd84dbbb60
33 changed files with 82 additions and 44 deletions

View file

@ -1,5 +1,5 @@
<template>
<div v-if="visible" :class="cx('root')" :aria-label="label" v-bind="ptm('root')">
<div v-if="visible" :class="cx('root')" :aria-label="label" v-bind="ptmi('root')">
<slot>
<img v-if="image" :src="image" v-bind="ptm('image')" />
<component v-else-if="$slots.icon" :is="$slots.icon" :class="cx('icon')" v-bind="ptm('icon')" />
@ -19,6 +19,7 @@ import BaseChip from './BaseChip.vue';
export default {
name: 'Chip',
extends: BaseChip,
inheritAttrs: false,
emits: ['remove'],
data() {
return {