Refactor #5426 - For SelectButton

pull/5507/head
tugcekucukoglu 2024-03-20 10:00:27 +03:00
parent 5250943440
commit d6f209ad08
1 changed files with 3 additions and 3 deletions

View File

@ -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({