File tree 1 file changed +7
-8
lines changed
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
verticalSeparator : ( options ) => {
3
3
// color: color to be used. Default to `grey-4`
4
- const color = options ?. color || 'grey-4'
5
- return {
4
+ return Object . assign ( {
6
5
component : 'QSeparator' ,
7
6
vertical : true ,
8
- color
9
- }
7
+ color : 'grey-4' ,
8
+ style : 'margin-left: 2px; margin-right: 2px;'
9
+ } , options )
10
10
} ,
11
11
horizontalSeparator : ( options ) => {
12
12
// color: color to be used. Default to `grey-4`
13
- const color = options ?. color || 'grey-4'
14
- return {
13
+ return Object . assign ( {
15
14
component : 'QSeparator' ,
16
15
class : 'full-width' ,
17
16
style : 'min-height: 1px;' ,
18
- color
19
- }
17
+ color : 'grey-4'
18
+ } , options )
20
19
} ,
21
20
leftPane : ( options ) => {
22
21
// component: component to be used to render the leftPane. Default to 'LeftPane`
You can’t perform that action at this time.
0 commit comments