Closed Yash-Singh1 closed 2 years ago
Hi @Yash-Singh1 , can you give me an example of custom text you want to pass to the progress ring?
Such as Goals Completed: 55/78
or Chance of rain: 80%
.
I see, thanks @Yash-Singh1 . By looking at the downloads on npm, yeah seems like people are starting to use this component. I would like to hear more use cases/opinions before starting to add more features like this though.
Anyone else out there, any comments? Actually I am interested in how people are using it
@Yash-Singh1 Spoke with my colleagues and got the same feedback. Will work on this :+1:
@Yash-Singh1 Just published the change. You can now use custom html in the component.
https://www.npmjs.com/package/progress-ring-component/v/1.0.9
@Yash-Singh1 Now we have callback functions available
https://www.npmjs.com/package/progress-ring-component/v/1.0.14
Next step is to add color scheme options
Currently, only an internal percentage format is allowed inside the progress ring. There should be some way to specify custom text based on the current percent amount.