You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
The Progress Component can accept a successPercent prop to show a segment of the total progress that is complete or "successful". However, this successPercent is not passed to the format prop function so it can not currently be used to display a custom format. Only the percent value is passed to the format prop function.
What does the proposed API look like?
I would pass the successPercent as a second parameter to the format prop function. This way it can optionally be accessed. It would look something like this:
What problem does this feature solve?
The Progress Component can accept a
successPercent
prop to show a segment of the total progress that is complete or "successful". However, thissuccessPercent
is not passed to theformat
prop function so it can not currently be used to display a custom format. Only thepercent
value is passed to theformat
prop function.What does the proposed API look like?
I would pass the
successPercent
as a second parameter to theformat
prop function. This way it can optionally be accessed. It would look something like this:The text was updated successfully, but these errors were encountered: