primevue-mirror/components/lib/panel/style/PanelStyle.js

23 lines
526 B
JavaScript

import BaseStyle from 'primevue/base/style';
const classes = {
root: ({ props }) => [
'p-panel p-component',
{
'p-panel-toggleable': props.toggleable
}
],
header: 'p-panel-header',
title: 'p-panel-title',
icons: 'p-panel-icons',
toggler: 'p-panel-header-icon p-panel-toggler p-link',
toggleablecontent: 'p-toggleable-content',
content: 'p-panel-content',
footer: 'p-panel-footer'
};
export default BaseStyle.extend({
name: 'panel',
classes
});