Support adding gradient to background
karwan-ali opened this issue · comments
Karwan commented
Jared Henderson commented
We don't support gradients at all. That's because this library is only aiming to cover tailwindcss utilities that map directly to core style props in RN native. Gradients are not supported directly in RN (native).
I'm guessing you might be using RN web? If so, check out the discussion here: #125
also:
Karwan commented
Oh sorry, I was going to write another comment as I found a library that took care of this. I was not aware that gradient was not supported in RN. Thank you for the fast reply!
If other people are interested in what library I used for implementing gradient:
expo-linear-gradient