primevue-mirror/components/lib/tabpanel/style/TabPanelStyle.js

16 lines
267 B
JavaScript
Raw Normal View History

2024-03-31 04:44:48 +00:00
import BaseStyle from 'primevue/base/style';
2024-04-19 13:51:57 +00:00
const classes = {
root: ({ instance }) => [
'p-tabpanel',
{
2024-04-29 09:57:14 +00:00
'p-tabpanel-active': instance.active
2024-04-19 13:51:57 +00:00
}
]
};
2024-03-31 04:44:48 +00:00
export default BaseStyle.extend({
2024-04-19 13:51:57 +00:00
name: 'tabpanel',
classes
2024-03-31 04:44:48 +00:00
});