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.Dismiss alert
I added a workaround to use linear gradients this on a fork I created. It's not pull-request worthy but hopefully will help you out. It works for my usecase.
One thing to note is that the backgroundColor prop is heavily coupled into the codebase. It affects the animations and transitions, so you'll still have to specify a backgroundColor even though it isn't relevant for gradient backgrounds (with my workaround)
For anyone else looking to do this, you can make the same (or similar) changes as shown in the example above, and then run the following to create a patch which can install during npm i as part of the postinstall script.
How can linear-gradient be implemented as a background fill?
The text was updated successfully, but these errors were encountered: