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
30 lines (27 loc) • 792 B
JavaScript
import { style } from '@primeuix/styles/dataview';
import BaseStyle from '@primevue/core/base/style';
var classes = {
root: function root(_ref) {
var props = _ref.props;
return ['p-dataview p-component', {
'p-dataview-list': props.layout === 'list',
'p-dataview-grid': props.layout === 'grid'
}];
},
header: 'p-dataview-header',
pcPaginator: function pcPaginator(_ref2) {
var position = _ref2.position;
return 'p-dataview-paginator-' + position;
},
content: 'p-dataview-content',
emptyMessage: 'p-dataview-empty-message',
// TODO: remove?
footer: 'p-dataview-footer'
};
var DataViewStyle = BaseStyle.extend({
name: 'dataview',
style: style,
classes: classes
});
export { DataViewStyle as default };
//# sourceMappingURL=index.mjs.map