fix: annotation PropType for formula annotations (#594)

This commit is contained in:
Ville Brofeldt 2020-06-11 18:47:48 +03:00 committed by Yongjie Zhao
parent 7953441c1f
commit 794c76bcd2

View File

@ -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,
});