Closed chrsi closed 1 year ago
There's still some styling issue when the value is low (eg. 1%)
tbc
Nice-To-Have: You could add a transition animation for the width of the green/goldish bar so that when the amount is fetched clientside it has some animated loading
Nice-To-Have: You could add a transition animation for the width of the green/goldish bar so that when the amount is fetched clientside it has some animated loading
Done :) A possible improvement would be to include the color change in the transition. So its yellow during the transition and green at the end.
Regarding transition color change at the end of width
animation --> transitionend
eventlistener could be used, or making use of keyframe
animation where the color changes at the end of the animation at 100% step
A new progress bar component has been introduced that replaces the deprecated rc-progress component. Styling was mostly moved to the component, since it's cut for this concrete use case. Only a single prop is exposed to control the progress.
Fixes #105