Skip to content

Commit

Permalink
fix: annotation PropType for formula annotations (apache#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro authored and zhaoyongjie committed Nov 25, 2021
1 parent 12cef8a commit 422f4e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ export const annotationLayerType = PropTypes.shape({
showMarkers: PropTypes.bool,
sourceType: PropTypes.string,
style: PropTypes.string,
value: PropTypes.number,
value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
width: PropTypes.number,
});

0 comments on commit 422f4e6

Please sign in to comment.