mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Refactored Steps
This commit is contained in:
parent
18e37ac90e
commit
cd74265a10
2 changed files with 12 additions and 12 deletions
|
@ -6,13 +6,13 @@ const classes = {
|
|||
menuitem: ({ instance, item, index }) => [
|
||||
'p-steps-item',
|
||||
{
|
||||
'p-highlight p-steps-current': instance.isActive(index),
|
||||
'p-steps-item-active': instance.isActive(index),
|
||||
'p-disabled': instance.isItemDisabled(item, index)
|
||||
}
|
||||
],
|
||||
action: 'p-menuitem-link',
|
||||
step: 'p-steps-number',
|
||||
label: 'p-steps-title'
|
||||
action: 'p-steps-item-link',
|
||||
step: 'p-steps-item-number',
|
||||
label: 'p-steps-item-label'
|
||||
};
|
||||
|
||||
export default BaseStyle.extend({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue