Merge pull request #1365 from kchadha/monitor-proptype

Fixing monitor prop type warning for scalar variable monitors.
This commit is contained in:
Paul Kaplan authored and GitHub committed 2018-01-29 13:55:44 -05:00
commit 97b0d59e87
1 file changed
+3 -1
+3 -1
View File
@@ -42,7 +42,9 @@ MonitorComponent.propTypes = {
componentRef: PropTypes.func.isRequired,
label: PropTypes.string.isRequired,
onDragEnd: PropTypes.func.isRequired,
value: PropTypes.string.isRequired
value: PropTypes.oneOfType([
PropTypes.string,
PropTypes.number])
};
MonitorComponent.defaultProps = {