react-native-radial-gradient
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "react-native-radial-gradient", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Radial gradient library for react native", | ||
@@ -10,9 +10,2 @@ "main": "index.js", | ||
"keywords": [ | ||
"react-native" | ||
], | ||
"author":{ | ||
"name": "Surajit Sarkar", | ||
"email": "surajitsarkar19@gmail.com" | ||
}, | ||
"keywords": [ | ||
"react-native", | ||
@@ -22,15 +15,18 @@ "react", | ||
"radial-gradient", | ||
"radial", | ||
"gradient" | ||
], | ||
"radial", | ||
"gradient" | ||
], | ||
"author": { | ||
"name": "Surajit Sarkar", | ||
"email": "surajitsarkar19@gmail.com" | ||
}, | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/surajitsarkar19/react-native-radial-gradient.git" | ||
}, | ||
"type": "git", | ||
"url": "https://github.com/surajitsarkar19/react-native-radial-gradient.git" | ||
}, | ||
"devDependencies": { | ||
"babel-preset-react-native": "^4.0.0", | ||
"prop-types": "^15.6.0" | ||
} | ||
} |
@@ -17,3 +17,6 @@ | ||
Not Supported yet | ||
1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]` | ||
2. Go to `node_modules` ➜ `react-native-radial-gradient` and add `SRSRadialGradient.xcodeproj` | ||
3. In XCode, in the project navigator, select your project. Add `libSRSRadialGradient.a` to your project's `Build Phases` ➜ `Link Binary With Libraries` | ||
4. Run your project (`Cmd+R`) | ||
@@ -50,4 +53,14 @@ #### Android | ||
## Some output gradient | ||
<br> | ||
1. | ||
<img src="https://raw.githubusercontent.com/surajitsarkar19/react-native-radial-gradient/master/images/image1.png" width="50%"></img> | ||
<br/><br> | ||
2. | ||
<img src="https://raw.githubusercontent.com/surajitsarkar19/react-native-radial-gradient/master/images/image2.png" width="50%"></img> | ||
<br/><br> | ||
3. | ||
<img src="https://raw.githubusercontent.com/surajitsarkar19/react-native-radial-gradient/master/images/image4.png" width="50%"></img> | ||
<br/><br> | ||
## Props | ||
@@ -63,3 +76,3 @@ | ||
#### radius | ||
A float value of the radius of the radial gradient. | ||
A float value of the radius of the radial gradient. By default it is <code> min(width/2,height/2)</code> | ||
@@ -66,0 +79,0 @@ #### stops |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
91545
23
81
0