primevue-mirror/components/lib/chip/BaseChip.vue

38 lines
727 B
Vue

<script>
import BaseComponent from 'primevue/basecomponent';
import ChipStyle from 'primevue/chip/style';
export default {
name: 'BaseChip',
extends: BaseComponent,
props: {
label: {
type: String,
default: null
},
icon: {
type: String,
default: null
},
image: {
type: String,
default: null
},
removable: {
type: Boolean,
default: false
},
removeIcon: {
type: String,
default: undefined
}
},
style: ChipStyle,
provide() {
return {
$parentInstance: this
};
}
};
</script>