mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3965 - For Chip
This commit is contained in:
parent
78954bcc45
commit
5296fc2bd3
2 changed files with 5 additions and 5 deletions
|
@ -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 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue