React Picture Annotation
A simple React Picture Annotation component.
Install
Basic Example
Props
AnnotationData not required
TYPE
see IAnnotation
COMMENT
Control the marked areas on the page.
selectedId not required
TYPE
COMMENT
Control the selected shape.
onChange required
TYPE
COMMENT
Called every time the shape changes.
onSelected required
TYPE
COMMENT
Called each time the selection is changed.
width required
TYPE
COMMENT
Width of the canvas.
height required
TYPE
COMMENT
Height of the canvas.
image required
TYPE
COMMENT
Image to be annotated.
inputElement not required
TYPE
COMMENT
Customizable input control.
EXAMPLE