add onClick to Label in Annotation #1132
Unanswered
WongyuChoi
asked this question in
Q&A
Replies: 0 comments
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.
-
First of all, I must say I am new to both React and VISX. My question may already have a ridiculously simple answer.
I am looking for a way to add
onClickbehavior toLabelinAnnotation, but so far no avail.Is there a way to enable
onClick?I saw the
LabelPropsin theLabe;component does not have anonClickprop. AlthoughbackgroundPropsmay includeonClick, it seems theonClickevent is not fired.I appreciate any comments. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions