Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass data from when i click on button #33

Open
harishmahajan opened this issue Feb 12, 2018 · 1 comment
Open

pass data from when i click on button #33

harishmahajan opened this issue Feb 12, 2018 · 1 comment

Comments

@harishmahajan
Copy link

i want to increment by 5 or 6,
but the condition is that i have to pass this data when i click on button.

something like Increase

then the counter will be 0,5,10,15,......

something like Increase

then the counter will be 0,3,6,9,12......

in short i will pass the value from button click.

@ankitkanojia
Copy link

You can pass the value as an argument or set that incremented value with redux structure whenever you change that incremented value its relevant changes made automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants