master
mahdi andalib 3 years ago
parent b79f0311b3
commit a27132c087
  1. 7
      src/components/UploadFile/index.js

@ -58,7 +58,7 @@ export default class UploadFile extends Component {
/> />
{uploadPercentage > 0 && ( {uploadPercentage > 0 && (
<div <div
className="w-50 bg-red-500 h-2 z-50" className="w-50 bg-red-500 h-2 z-50 transition-all duration-700"
now={uploadPercentage} now={uploadPercentage}
label={`${uploadPercentage}%`} label={`${uploadPercentage}%`}
></div> ></div>
@ -90,6 +90,11 @@ export default class UploadFile extends Component {
</div> </div>
</div> </div>
</div> </div>
<div className="bg-rangeBgColor h-3 w-full rounded mt-2">
<div
className={`bg-rangeFillBgColor h-3 rounded duration-500 w-72`}
></div>
</div>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save