primevue-mirror/components/lib/tab/style/TabStyle.js

17 lines
301 B
JavaScript

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