mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
SelectButton remove old classes
This commit is contained in:
parent
5ba2a6b9d5
commit
e1e1387caf
3 changed files with 1 additions and 33 deletions
|
@ -58,14 +58,6 @@ export interface SelectButtonPassThroughOptions {
|
|||
* Used to pass attributes to the root's DOM element.
|
||||
*/
|
||||
root?: SelectButtonPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the button's DOM element.
|
||||
*/
|
||||
button?: SelectButtonPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the label's DOM element.
|
||||
*/
|
||||
label?: SelectButtonPassThroughOptionType;
|
||||
/**
|
||||
* Used to manage all lifecycle hooks.
|
||||
* @see {@link BaseComponent.ComponentHooks}
|
||||
|
|
|
@ -6,15 +6,7 @@ const classes = {
|
|||
{
|
||||
'p-invalid': props.invalid
|
||||
}
|
||||
],
|
||||
button: ({ instance, option }) => [
|
||||
'p-selectbutton-button',
|
||||
{
|
||||
'p-highlight': instance.isSelected(option),
|
||||
'p-disabled': instance.isOptionDisabled(option)
|
||||
}
|
||||
],
|
||||
label: 'p-selectbutton-label'
|
||||
]
|
||||
};
|
||||
|
||||
export default BaseStyle.extend({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue