Skip to content

Commit

Permalink
Refactor #5426 - For SelectButton
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Mar 20, 2024
1 parent 5250943 commit d6f209a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/lib/selectbutton/style/SelectButtonStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ import BaseStyle from 'primevue/base/style';

const classes = {
root: ({ props }) => [
'p-selectbutton p-button-group p-component',
'p-selectbutton p-component',
{
'p-disabled': props.disabled,
'p-invalid': props.invalid
}
],
button: ({ instance, option }) => [
'p-button p-component',
'p-selectbutton-button',
{
'p-highlight': instance.isSelected(option),
'p-disabled': instance.isOptionDisabled(option)
}
],
label: 'p-button-label'
label: 'p-selectbutton-label'
};

export default BaseStyle.extend({
Expand Down

0 comments on commit d6f209a

Please sign in to comment.