Absolute-positioned pin overlay for placing and clicking annotation markers on images
| Prop | Type | Default | Description |
|---|---|---|---|
annotations | Annotation[] | [] | Pins to render |
activeAnnotationId | string | null | null | Highlighted pin |
annotationMode | boolean | false | Crosshair cursor + click-to-place |
showResolved | boolean | false | Show resolved annotations |
onAnnotationClick | (a: Annotation) => void | — | Pin click handler |
onImageClick | (x, y) => void | — | Click in annotation mode (% coords) |