Currently, I am utilizing the Progress bar component from Ant Design
. However, I am facing an issue where the percentage text displayed at the end of the progress bar is not visible due to my black background color. This poses a challenge as there is no built-in API that allows for customizing the text color.
Below is the code snippet I am working with:
<Progress strokeColor={{'0%': '#eb5c20','100%': '#c6224e'}} percent={90} status='active' />
The Progress bar resides within a div
, and simply changing the CSS color tag to a lighter shade has proven ineffective in addressing the visibility issue.