-
Notifications
You must be signed in to change notification settings - Fork 41
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
<Button onClick={does not work}... #7
Labels
Comments
Sorry, my fault. You're right. The onClick function should be on |
v0.2.1: some elements onClick function not work.
|
jessy1092
added a commit
that referenced
this issue
Jan 4, 2015
Signed-off-by: Lee <[email protected]>
jessy1092
added a commit
that referenced
this issue
Jan 4, 2015
@hipertracker Thanks. It should be working on v0.2.2 😄 |
jessy1092
added a commit
that referenced
this issue
Jan 5, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to pass own handler to onClick event inside in Button component? The way it is implemented shows that I cannot use my handler unless I extend somehow Button class to provide my own onClick method. When I remove the line "onClick={this.onClick}" from elements/button.jsx than I am free to use my own handlers. The unit test fore button.jsx is wrong. It does not test anything for onClick. The passed handler is never excuted.
The text was updated successfully, but these errors were encountered: