File tree 1 file changed +4
-4
lines changed
Filter options
1 file changed +4
-4
lines changed
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export default {
45
45
return ' switch-id-' + this ._uid ;
46
46
},
47
47
},
48
- color : {
48
+ variant : {
49
49
type: String ,
50
50
default: ' secondary'
51
51
},
@@ -95,7 +95,7 @@ export default {
95
95
uncheckedValue: {
96
96
default: false
97
97
},
98
- variant : {
98
+ shape : {
99
99
type: String ,
100
100
default: null ,
101
101
validator : value => [null , ' 3d' , ' pill' ].indexOf (value) !== - 1
@@ -115,8 +115,8 @@ export default {
115
115
' switch' ,
116
116
this .label ? ' switch-label' : ' ' ,
117
117
this .size ? ` switch-${ this .size } ` : ' ' ,
118
- this .variant ? ` switch-${ this .variant } ` : ' ' ,
119
- ` switch${ this .outline ? ' -outline' : ' ' } -${ this .color }${ this .outline === ' alt' ? ' -alt' : ' ' } ` ,
118
+ this .shape ? ` switch-${ this .shape } ` : ' ' ,
119
+ ` switch${ this .outline ? ' -outline' : ' ' } -${ this .variant }${ this .outline === ' alt' ? ' -alt' : ' ' } ` ,
120
120
' form-check-label'
121
121
]
122
122
},
You can’t perform that action at this time.
0 commit comments