Before, I make progress bar with onUploadProgress event.
this is my example code as below.
import React from 'react'
import Progress from 'react-progressbar';
import axios from 'axios';
export default class App extends React.Component {
constructor(props) {
super(props);
this.state = {
progress: 0,
uploadFile: null,
}
}
onChangeFile = (event) =>
…
Top comments (0)