Skip to main content
For type definitions, see VeltCommentComposerProps.

context

Pass custom context data to comments created via the Comment Composer. The provided context object will be added to the comment annotation, allowing you to associate additional metadata with comments.
<VeltCommentComposer context={{ "key": "value" }} />

documentId

Set a specific document ID for comments created via the Comment Composer. This allows you to associate comments with a particular document.
<VeltCommentComposer documentId='YOUR_DOCUMENT_ID' />

folderId

Set a specific folder ID for comments created via the Comment Composer. This allows you to associate comments with a particular folder.
<VeltCommentComposer folderId='YOUR_FOLDER_ID' />

locationId

Set a specific location ID for comments created via the Comment Composer. This allows you to associate comments with a particular location.
<VeltCommentComposer locationId='YOUR_LOCATION_ID' />