mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +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
|
@ -1,21 +1,6 @@
|
|||
<script>
|
||||
import BaseComponent from 'primevue/basecomponent';
|
||||
|
||||
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'
|
||||
}
|
||||
]
|
||||
};
|
||||
import DataViewLayoutOptionsStyle from 'primevue/dataviewlayoutoptions/style';
|
||||
|
||||
export default {
|
||||
name: 'BaseDataViewLayoutOptions',
|
||||
|
@ -23,9 +8,7 @@ export default {
|
|||
props: {
|
||||
modelValue: String
|
||||
},
|
||||
css: {
|
||||
classes
|
||||
},
|
||||
style: DataViewLayoutOptionsStyle,
|
||||
provide() {
|
||||
return {
|
||||
$parentInstance: this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue