Skip to content

Commit

Permalink
feat(toggle): clean up and simplify the toggle component (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachmulvey committed Oct 1, 2019
1 parent 1762c71 commit 727fded
Show file tree
Hide file tree
Showing 3 changed files with 267 additions and 182 deletions.
1 change: 0 additions & 1 deletion src/components/Toggle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
label="Toggle"
checked={value}
onChange={() => updater(!value)}
spaceBetween="10px"
handleSize={26}
height={30}
width={50}
Expand Down
186 changes: 159 additions & 27 deletions src/components/Toggle/__tests__/__snapshots__/Toggle.spec.js.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 727fded

Please sign in to comment.