17 lines
297 B
JavaScript
17 lines
297 B
JavaScript
|
import BaseStyle from 'primevue/base/style';
|
||
|
|
||
|
const classes = {
|
||
|
root: ({ instance, props }) => [
|
||
|
'p-tab',
|
||
|
{
|
||
|
'p-active': instance.active,
|
||
|
'p-disabled': props.disabled
|
||
|
}
|
||
|
]
|
||
|
};
|
||
|
|
||
|
export default BaseStyle.extend({
|
||
|
name: 'tab',
|
||
|
classes
|
||
|
});
|