Add new code new version
Change-Id: Ic02a76313503b526f17c3df29eb387a29fe6a42a
Signed-off-by: Michael Lando <ml636r@att.com>
diff --git a/openecomp-ui/src/nfvo-components/progressBar/ProgressBar.jsx b/openecomp-ui/src/nfvo-components/progressBar/ProgressBar.jsx
new file mode 100644
index 0000000..d786aee
--- /dev/null
+++ b/openecomp-ui/src/nfvo-components/progressBar/ProgressBar.jsx
@@ -0,0 +1,22 @@
+import React from 'react';
+
+class ProgressBar extends React.Component {
+ static propTypes = {
+ label: React.PropTypes.string,
+ now: React.PropTypes.string.isRequired
+ }
+ render() {
+ let {label, now} = this.props;
+
+ return(
+ <div className='progress-bar-view'>
+ <div className='progress-bar-outside'>
+ <div style={{width: now + '%'}} className='progress-bar-inside'></div>
+ </div>
+ <div className='progress-bar-view-label'>{label}</div>
+ </div>
+ );
+ }
+}
+
+export default ProgressBar;