primevue
Version:
PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc
29 lines (26 loc) • 767 B
JavaScript
import { style } from '@primeuix/styles/tabmenu';
import BaseStyle from '@primevue/core/base/style';
var classes = {
root: 'p-tabmenu p-component',
tablist: 'p-tabmenu-tablist',
item: function item(_ref) {
var instance = _ref.instance,
index = _ref.index,
_item = _ref.item;
return ['p-tabmenu-item', {
'p-tabmenu-item-active': instance.d_activeIndex === index,
'p-disabled': instance.disabled(_item)
}];
},
itemLink: 'p-tabmenu-item-link',
itemIcon: 'p-tabmenu-item-icon',
itemLabel: 'p-tabmenu-item-label',
activeBar: 'p-tabmenu-active-bar'
};
var TabMenuStyle = BaseStyle.extend({
name: 'tabmenu',
style: style,
classes: classes
});
export { TabMenuStyle as default };
//# sourceMappingURL=index.mjs.map