From 505e65d693fa725b2a0634df87441b33a71d4ccf Mon Sep 17 00:00:00 2001 From: Sergio Betanzos Date: Thu, 1 Jul 2021 17:45:08 +0200 Subject: [PATCH] F OpenNebula/one#5422: Add title prop --- .../client/components/Status/LinearProgressWithLabel.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/fireedge/src/client/components/Status/LinearProgressWithLabel.js b/src/fireedge/src/client/components/Status/LinearProgressWithLabel.js index 62efbb09f6..ae83ee38f8 100644 --- a/src/fireedge/src/client/components/Status/LinearProgressWithLabel.js +++ b/src/fireedge/src/client/components/Status/LinearProgressWithLabel.js @@ -18,8 +18,8 @@ const BorderLinearProgress = withStyles(({ palette }) => ({ } }))(LinearProgress) -const LinearProgressWithLabel = memo(({ value, label }) => ( -
+const LinearProgressWithLabel = memo(({ value, label, title }) => ( +
{label}
@@ -27,7 +27,8 @@ const LinearProgressWithLabel = memo(({ value, label }) => ( LinearProgressWithLabel.propTypes = { value: PropTypes.number.isRequired, - label: PropTypes.string.isRequired + label: PropTypes.string.isRequired, + title: PropTypes.string } LinearProgressWithLabel.displayName = 'LinearProgressWithLabel'