Switch onChange #2192
Answered
by
with-heart
anton-johansson
asked this question in
Q&A
Switch onChange
#2192
-
Hey peeps! I'm trying out the |
Beta Was this translation helpful? Give feedback.
Answered by
with-heart
Oct 8, 2020
Replies: 1 comment 8 replies
-
Hi @anton-johansson! You'd want to use |
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
ljosberinn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @anton-johansson! You'd want to use
e.target.checked
, as seen in this example: https://codesandbox.io/s/vibrant-johnson-lchqn?file=/src/App.tsx