2024-04-19 13:51:57 +00:00
|
|
|
import BaseStyle from 'primevue/base/style';
|
|
|
|
|
|
|
|
const classes = {
|
|
|
|
root: ({ instance, props }) => [
|
|
|
|
'p-tab',
|
|
|
|
{
|
2024-04-29 09:57:14 +00:00
|
|
|
'p-tab-active': instance.active,
|
2024-04-19 13:51:57 +00:00
|
|
|
'p-disabled': props.disabled
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
|
|
|
|
export default BaseStyle.extend({
|
|
|
|
name: 'tab',
|
|
|
|
classes
|
|
|
|
});
|