primevue-mirror/components/lib/dataview/style/DataViewStyle.js

22 lines
571 B
JavaScript
Raw Normal View History

import BaseStyle from 'primevue/base/style';
const classes = {
root: ({ props }) => [
'p-dataview p-component',
{
'p-dataview-list': props.layout === 'list',
'p-dataview-grid': props.layout === 'grid'
}
],
header: 'p-dataview-header',
2024-04-25 21:39:48 +00:00
paginator: ({ position }) => 'p-dataview-paginator-' + position,
content: 'p-dataview-content',
2024-04-25 21:39:48 +00:00
emptyMessage: 'p-dataview-empty-message', // TODO: remove?
footer: 'p-dataview-footer'
};
export default BaseStyle.extend({
name: 'dataview',
2023-10-04 09:20:15 +00:00
classes
});