Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Add option for switch #46

Open
tianzhich opened this issue Nov 20, 2019 · 3 comments · May be fixed by #47
Open

Add option for switch #46

tianzhich opened this issue Nov 20, 2019 · 3 comments · May be fixed by #47

Comments

@tianzhich
Copy link

Clap button can be useful for accumulate count now. But i want something like add 1 when clicked once, minus 1 when clicked again (like switch button).
I think it will be better if there is an option props for that.

@Kikobeats
Copy link
Owner

I'm very open to accept a PR over this 🙂

@tianzhich
Copy link
Author

fine, I will work on this 😃

@tianzhich
Copy link
Author

PR for that #47

@tianzhich tianzhich linked a pull request Nov 22, 2019 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants