mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 01:42:34 +00:00
Refactor #5257
This commit is contained in:
parent
a9164bdbde
commit
dd84dbbb60
33 changed files with 82 additions and 44 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue