mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactored Chip
This commit is contained in:
parent
4f0e836d2f
commit
2dffe28522
3 changed files with 17 additions and 21 deletions
|
@ -1,14 +1,10 @@
|
|||
import BaseStyle from 'primevue/base/style';
|
||||
|
||||
const classes = {
|
||||
root: ({ props }) => [
|
||||
'p-chip p-component',
|
||||
{
|
||||
'p-chip-image': props.image != null
|
||||
}
|
||||
],
|
||||
root: 'p-chip p-component',
|
||||
image: 'p-chip-image',
|
||||
icon: 'p-chip-icon',
|
||||
label: 'p-chip-text',
|
||||
label: 'p-chip-label',
|
||||
removeIcon: 'p-chip-remove-icon'
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue