mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Fixed #4530 - Export styles of all components
This commit is contained in:
parent
7b6d458067
commit
dc2913e887
463 changed files with 10696 additions and 9670 deletions
24
components/lib/dataview/style/DataViewStyle.js
Normal file
24
components/lib/dataview/style/DataViewStyle.js
Normal file
|
@ -0,0 +1,24 @@
|
|||
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',
|
||||
paginator: ({ instance }) => (instance.paginatorTop ? 'p-paginator-top' : instance.paginatorBottom ? 'p-paginator-bottom' : ''),
|
||||
content: 'p-dataview-content',
|
||||
grid: 'p-grid p-nogutter grid grid-nogutter',
|
||||
column: 'p-col col',
|
||||
emptyMessage: 'p-dataview-emptymessage',
|
||||
footer: 'p-dataview-footer'
|
||||
};
|
||||
|
||||
export default BaseStyle.extend({
|
||||
name: 'dataview',
|
||||
classes,
|
||||
loadStyle: () => {}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue