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

17 lines
301 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',
{
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
});