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

17 lines
297 B
JavaScript
Raw Normal View History

2024-04-19 13:51:57 +00:00
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
});