Replies: 1 comment 1 reply
|
As described in the docs, <JsxParser
bindings={{ showAlert }}
blacklistedAttrs={[]}
jsx="<a href="#" onClick={showAlert}>Click here!</a>"
/> |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I was trying to add onClick event to a component. However, the onClick event is not working. Please help me with how to achieve that.
All reactions