useAnnotations
The useAnnotations hook returns all annotations that belong to the current document.
Returns an empty array if no document is loaded, or the document has no annotations.
The useAnnotations hook returns all annotations that belong to the current document.
Returns an empty array if no document is loaded, or the document has no annotations.