This works ios and android:
<Defs>
<LinearGradient id="outerGr" x1="0" y1="0" x2="110" y2="0">
<Stop offset="0" stopColor="black" stopOpacity="1" />
<Stop offset="1" stopColor="#4d4d4d" stopOpacity="1" />
</LinearGradient>
</Defs>
<Circle id="outerCircle" cx="50" "cy"=50 "r"=50 fill="url(#outerGr)" />
This does not work:
<Defs>
<LinearGradient id="outerGr" x1="0" y1="0" x2="110" y2="0">
<Stop offset="0" stopColor="black" stopOpacity="1" />
<Stop offset="1" stopColor="#4d4d4d" stopOpacity="1" />
</LinearGradient>
</Defs>
<G>
<Circle id="outerCircle" cx="50" "cy"=50 "r"=50 fill="url(#outerGr)" />
</G>
Circle used as example, other like f.e. Polygon also behave the same.
I'm using react-native 0.24 and react-native-svg 1.2.6
This works ios and android:
This does not work:
Circle used as example, other like f.e. Polygon also behave the same.
I'm using react-native 0.24 and react-native-svg 1.2.6