Closed benomzn closed 1 month ago
Have you tried with cssInterop? https://www.nativewind.dev/v4/api/css-interop
cssInterop(LinearGradient, { className: 'style' })
Have you tried with cssInterop? https://www.nativewind.dev/v4/api/css-interop
cssInterop(LinearGradient, { className: 'style' })
It works! Thanks, @bailletced
When I use the "className" prop of Nativewind on "LinearGradient" component, it doesn't work in iOS simulator, only in Android emulator. But If I use "style" prop instead of "className", it works on both simulators
Code: