Last active
August 1, 2018 21:23
-
-
Save grantglidewell/35d6d51fa2e534cddeef16175abbc879 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function Toggle(props) { | |
return ( | |
<label className={styles.switch}> | |
<input {...props} type="checkbox" /> | |
<span className={styles.slider} /> | |
</label> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment