File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ export default class BootstrapSwitchButton extends React.Component {
103
103
onClick = { this . toggle }
104
104
>
105
105
< div className = "switch-group" >
106
- < label
106
+ < span
107
107
className = {
108
108
"switch-on btn btn-" +
109
109
this . state . onstyle +
@@ -112,8 +112,8 @@ export default class BootstrapSwitchButton extends React.Component {
112
112
style = { labelStyle }
113
113
>
114
114
{ this . state . onlabel }
115
- </ label >
116
- < label
115
+ </ span >
116
+ < span
117
117
className = {
118
118
"switch-off btn btn-" +
119
119
this . state . offstyle +
@@ -122,7 +122,7 @@ export default class BootstrapSwitchButton extends React.Component {
122
122
style = { labelStyle }
123
123
>
124
124
{ this . state . offlabel }
125
- </ label >
125
+ </ span >
126
126
< span
127
127
className = {
128
128
"switch-handle btn btn-light" +
You can’t perform that action at this time.
0 commit comments