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