chore(readme): fix #1272 linearGradient example

This commit is contained in:
Mikael Sand
2020-03-08 14:42:14 +02:00
parent f1671efc98
commit e390f87686

View File

@@ -949,8 +949,8 @@ Linear gradients can be defined as horizontal, vertical or angular gradients:
```jsx
<Svg height="150" width="300">
<Defs>
<LinearGradient id="grad" x1="0" y1="0" x2="170" y2="0">
<Stop offset="0" stopColor="rgb(255,255,0)" stopOpacity="0" />
<LinearGradient id="grad" x1="0" y1="0" x2="1" y2="0">
<Stop offset="0" stopColor="#FFD080" stopOpacity="1" />
<Stop offset="1" stopColor="red" stopOpacity="1" />
</LinearGradient>
</Defs>