23 lines
526 B
JavaScript
23 lines
526 B
JavaScript
import BaseStyle from 'primevue/base/style';
|
|
|
|
const classes = {
|
|
root: 'p-dataview-layout-options p-selectbutton p-buttonset',
|
|
listButton: ({ props }) => [
|
|
'p-button p-button-icon-only',
|
|
{
|
|
'p-highlight': props.modelValue === 'list'
|
|
}
|
|
],
|
|
gridButton: ({ props }) => [
|
|
'p-button p-button-icon-only',
|
|
{
|
|
'p-highlight': props.modelValue === 'grid'
|
|
}
|
|
]
|
|
};
|
|
|
|
export default BaseStyle.extend({
|
|
name: 'dataviewlayoutoptions',
|
|
classes
|
|
});
|