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
This issue is due to currentColor which doesn't seem to be well supported for linear (and radial gradient)
const color = stopColor && processColor(stopColor);
if (typeof color !== 'number' || isNaN(offsetNumber)) {
console.warn(
`"${stopColor}" is not a valid color or "${offset}" is not a valid offset`
);
continue;
}
the given color value is processed directly whereas in other cases there is an extractBrush method which is called
Description
When I am using a svg file with a linear gradient in it, it is not displayed with react-native-svg (to compare react-native-skia display it well).
I see errors in my console: "currentColor" is not a valid color or "1" is not a valid offset [Component Stack]
Steps to reproduce
The text was updated successfully, but these errors were encountered: