-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add background <circle> element, to allow inverted colors #21
Comments
yea we'd need to add a new |
Hey, I've submitted PR with the |
This is now available in v0.4.0! Example usage: JSX:
CSS: .CircularProgressbar.inverted .CircularProgressbar-background {
fill: #3e98c7;
}
.CircularProgressbar.inverted .CircularProgressbar-text {
fill: #fff;
}
.CircularProgressbar.inverted .CircularProgressbar-path {
stroke: #fff;
}
.CircularProgressbar.inverted .CircularProgressbar-trail {
stroke: transparent;
} You can also use a Thanks @Kikobeats for the idea and @andreysaleba for contributing the original PR! |
First of all, nice component!
I need to use it using a background color for the round, and a white or semi transparent line.
Because the component is drawing just the line, how to do that?
something like that: https://codepen.io/web-tiki/pen/qEGvMN
The text was updated successfully, but these errors were encountered: