mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-06 07:06:11 +00:00
Upgrade react-native to 0.44.0, Upgrade peerDependencies
This commit is contained in:
@@ -629,7 +629,7 @@ The <ClipPath> SVG element defines a clipping path. A clipping path is used/refe
|
||||
width="100"
|
||||
>
|
||||
<Defs>
|
||||
<RadialGradient id="grad" cx="50%" cy="50%" rx="50%" ry="50%" fx="50%" fy="50%">
|
||||
<RadialGradient id="grad" cx="50%" cy="50%" rx="50%" ry="50%" fx="50%" fy="50%" gradientUnits="userSpaceOnUse">
|
||||
<Stop
|
||||
offset="0%"
|
||||
stopColor="#ff0"
|
||||
@@ -726,7 +726,7 @@ The <RadialGradient> element is used to define a radial gradient. The <RadialGra
|
||||
width="300"
|
||||
>
|
||||
<Defs>
|
||||
<RadialGradient id="grad" cx="150" cy="75" rx="85" ry="55" fx="150" fy="75">
|
||||
<RadialGradient id="grad" cx="150" cy="75" rx="85" ry="55" fx="150" fy="75" gradientUnits="userSpaceOnUse">
|
||||
<Stop
|
||||
offset="0"
|
||||
stopColor="#ff0"
|
||||
|
||||
@@ -11,6 +11,7 @@ export default class extends Component{
|
||||
x2: numberProp.isRequired,
|
||||
y1: numberProp.isRequired,
|
||||
y2: numberProp.isRequired,
|
||||
gradientUnits: PropTypes.oneOf(['objectBoundingBox', 'userSpaceOnUse']),
|
||||
id: PropTypes.string.isRequired
|
||||
};
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ export default class extends Component{
|
||||
cx: numberProp.isRequired,
|
||||
cy: numberProp.isRequired,
|
||||
r: numberProp,
|
||||
gradientUnits: PropTypes.oneOf(['objectBoundingBox', 'userSpaceOnUse']),
|
||||
id: PropTypes.string.isRequired
|
||||
};
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "5.1.7",
|
||||
"version": "5.1.8",
|
||||
"name": "react-native-svg",
|
||||
"description": "SVG library for react-native",
|
||||
"repository": {
|
||||
@@ -22,8 +22,8 @@
|
||||
"lint": "eslint ./"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react-native": ">=0.40.0",
|
||||
"react": ">=15.4.0"
|
||||
"react-native": ">=0.44.0",
|
||||
"react": "16.0.0-alpha.6"
|
||||
},
|
||||
"dependencies": {
|
||||
"color": "^0.11.1",
|
||||
|
||||
Reference in New Issue
Block a user