Skip to content
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

shadow/elevation for circular progress background #265

Open
200even opened this issue Jan 19, 2021 · 1 comment
Open

shadow/elevation for circular progress background #265

200even opened this issue Jan 19, 2021 · 1 comment

Comments

@200even
Copy link

200even commented Jan 19, 2021

My team wants to implement an animated circular progress indicator like this:
Screen Shot 2021-01-19 at 3 07 14 PM
I have it all implemented as desired using this package except for the drop shadow. Any ideas for how to accomplish this? I've tried adding shadow styling to the childrenContainerStyle and the component style with no luck. Note that this is a different requirement than the conical gradient mentioned elsewhere. Thanks!

@aboveyunhai
Copy link
Contributor

You have to overwrite the background <path /> in the source file. Or can make a new PR to expose a {props} from each individual component so people can do whatever they want in the future as long as they read through react-native-svg .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants