GuilhermeStracini/POC-react-dotnet-SplitUpload

View on GitHub
PocSplitUpload/ClientApp/src/components/Progress.js

Summary

Maintainability
A
0 mins
Test Coverage
import React, { Component } from 'react'
import './Progress.css'

class Progress extends Component {
  constructor(props) {
    super(props);
    this.state = {};
  }
  render() {
    return (
      <div className="ProgressBar">
        <div
          className="Progress"
          style={{ width: this.props.progress + '%' }}
        />
      </div>
    );
  }
}

export default Progress