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 17, 2021
1 parent c14c839 commit caaa29b
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 caaa29b

Please sign in to comment.