diff --git a/components/lib/chip/BaseChip.vue b/components/lib/chip/BaseChip.vue index a8697fb4c..5099c634f 100644 --- a/components/lib/chip/BaseChip.vue +++ b/components/lib/chip/BaseChip.vue @@ -33,9 +33,9 @@ const classes = { 'p-chip-image': props.image != null } ], - icon: ({ props }) => ['p-chip-icon', props.icon], + icon: 'p-chip-icon', label: 'p-chip-text', - removeIcon: ({ props }) => ['p-chip-remove-icon', props.removeIcon] + removeIcon: 'p-chip-remove-icon' }; const { load: loadStyle } = useStyle(styles, { id: 'primevue_chip_style', manual: true }); diff --git a/components/lib/chip/Chip.vue b/components/lib/chip/Chip.vue index 4c847c913..c9dbb2abd 100644 --- a/components/lib/chip/Chip.vue +++ b/components/lib/chip/Chip.vue @@ -3,18 +3,18 @@ - +
{{ label }}
- +