mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3965 - Refactor on class implementation
This commit is contained in:
parent
eddfa1a5ef
commit
b4d07f0176
11 changed files with 12 additions and 17 deletions
|
@ -12,7 +12,6 @@ const classes = {
|
|||
}
|
||||
],
|
||||
icon: ({ instance, props }) => [
|
||||
props.modelValue ? props.onIcon : props.offIcon,
|
||||
'p-button-icon',
|
||||
{
|
||||
'p-button-icon-left': props.iconPos === 'left' && instance.label,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue