Progress bar takes 10 seconds to finish.
<SimpleProgressBar duration={10} />
Progress bar takes 5 seconds to finish. Progress starts at 50 % (i.e. already 5s in progress).
<SimpleProgressBar startAt={5} duration={10} />
Add customclassName
and / orid
.
<SimpleProgressBar id="custom-id" className="custom-class-name" duration={10} />
Check out a demo at CodeSandbox.