ProjectMirador / mirador-annotations

a Mirador 3 plugin that adds annotation creation tools to the user interface
https://mirador-annotations.netlify.app/
38 stars 37 forks source link

Different prop types options for defaults #72

Closed lucasmoeskops closed 2 years ago

lucasmoeskops commented 2 years ago

Currently, the default properties of annotations include booleans ("closed"), functions ("updateGeometry"), numbers ("strokeWidth") and strings (e.g. "activeTool"). This PR changes the AnnotationCreation prop types to not raise a warning when one of these is overwritten.