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
Previously in v2 you could style SVG components by passing a color style prop in v3 this no longer works and the color styles are not applied. I'm aware that there's the withUnistyle method for passing props like the color prop to SVG components but this method doesn't allow for variants.
Steps to Reproduce
Create a react-native-svg SVG component
Add color to the component using the color style value
Snack or Repository Link (Optional)
No response
Unistyles Version
3.0.0-beta.4
React Native Version
0.76.3
Platforms
Android, iOS
Expo
Yes
The text was updated successfully, but these errors were encountered:
Description
Previously in v2 you could style SVG components by passing a color style prop in v3 this no longer works and the color styles are not applied. I'm aware that there's the
withUnistyle
method for passing props like thecolor
prop to SVG components but this method doesn't allow for variants.Steps to Reproduce
react-native-svg
SVG componentSnack or Repository Link (Optional)
No response
Unistyles Version
3.0.0-beta.4
React Native Version
0.76.3
Platforms
Android, iOS
Expo
Yes
The text was updated successfully, but these errors were encountered: