Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
fix(switch): change input type to checkbox because switch is not valid
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikThePendric authored and varl committed Nov 20, 2019
1 parent 0f0632b commit b42258c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Switch.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Switch extends Component {
})}
>
<input
type="switch"
type="checkbox"
ref={this.ref}
name={name}
value={value}
Expand Down

0 comments on commit b42258c

Please sign in to comment.