1. onCommentClick Callback

  • When the user clicks on the comment thread, you can listen to it using this method.
  • Example: Use this to fetch the context and make the necessary app state changes to navigate to the comment.
<VeltCommentThread
    annotationId="COMMENT_ANNOTATION_ID"
    onCommentClick={(data) => handleOnCommentClick(data)}
/>