Skip to content
Snippets Groups Projects
Unverified Commit befe9f53 authored by Chris Beer's avatar Chris Beer Committed by GitHub
Browse files

Merge pull request #72 from lucasmoeskops/annotation-creation-prop-types-fix

Different prop types options for defaults
parents 89cf5a20 8f584609
No related branches found
No related tags found
2 merge requests!3Integrate upstream tests into gitlab ci,!2Update plugin code from upstream
...@@ -449,7 +449,11 @@ AnnotationCreation.propTypes = { ...@@ -449,7 +449,11 @@ AnnotationCreation.propTypes = {
config: PropTypes.shape({ config: PropTypes.shape({
annotation: PropTypes.shape({ annotation: PropTypes.shape({
adapter: PropTypes.func, adapter: PropTypes.func,
defaults: PropTypes.objectOf(PropTypes.string), defaults: PropTypes.objectOf(
PropTypes.oneOfType(
[PropTypes.bool, PropTypes.func, PropTypes.number, PropTypes.string]
)
),
}), }),
}).isRequired, }).isRequired,
id: PropTypes.string.isRequired, id: PropTypes.string.isRequired,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment