mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-18 13:05:10 +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"
|
width="100"
|
||||||
>
|
>
|
||||||
<Defs>
|
<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
|
<Stop
|
||||||
offset="0%"
|
offset="0%"
|
||||||
stopColor="#ff0"
|
stopColor="#ff0"
|
||||||
@@ -726,7 +726,7 @@ The <RadialGradient> element is used to define a radial gradient. The <RadialGra
|
|||||||
width="300"
|
width="300"
|
||||||
>
|
>
|
||||||
<Defs>
|
<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
|
<Stop
|
||||||
offset="0"
|
offset="0"
|
||||||
stopColor="#ff0"
|
stopColor="#ff0"
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ export default class extends Component{
|
|||||||
x2: numberProp.isRequired,
|
x2: numberProp.isRequired,
|
||||||
y1: numberProp.isRequired,
|
y1: numberProp.isRequired,
|
||||||
y2: numberProp.isRequired,
|
y2: numberProp.isRequired,
|
||||||
|
gradientUnits: PropTypes.oneOf(['objectBoundingBox', 'userSpaceOnUse']),
|
||||||
id: PropTypes.string.isRequired
|
id: PropTypes.string.isRequired
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ export default class extends Component{
|
|||||||
cx: numberProp.isRequired,
|
cx: numberProp.isRequired,
|
||||||
cy: numberProp.isRequired,
|
cy: numberProp.isRequired,
|
||||||
r: numberProp,
|
r: numberProp,
|
||||||
|
gradientUnits: PropTypes.oneOf(['objectBoundingBox', 'userSpaceOnUse']),
|
||||||
id: PropTypes.string.isRequired
|
id: PropTypes.string.isRequired
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "5.1.7",
|
"version": "5.1.8",
|
||||||
"name": "react-native-svg",
|
"name": "react-native-svg",
|
||||||
"description": "SVG library for react-native",
|
"description": "SVG library for react-native",
|
||||||
"repository": {
|
"repository": {
|
||||||
@@ -22,8 +22,8 @@
|
|||||||
"lint": "eslint ./"
|
"lint": "eslint ./"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"react-native": ">=0.40.0",
|
"react-native": ">=0.44.0",
|
||||||
"react": ">=15.4.0"
|
"react": "16.0.0-alpha.6"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"color": "^0.11.1",
|
"color": "^0.11.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user