mirror of
https://github.com/apache/superset.git
synced 2024-09-19 20:19:37 -04:00
fix: annotation PropType for formula annotations (#594)
This commit is contained in:
parent
7953441c1f
commit
794c76bcd2
@ -74,6 +74,6 @@ export const annotationLayerType = PropTypes.shape({
|
|||||||
showMarkers: PropTypes.bool,
|
showMarkers: PropTypes.bool,
|
||||||
sourceType: PropTypes.string,
|
sourceType: PropTypes.string,
|
||||||
style: PropTypes.string,
|
style: PropTypes.string,
|
||||||
value: PropTypes.number,
|
value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
||||||
width: PropTypes.number,
|
width: PropTypes.number,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user