Gathering detailed insights and metrics for react-native-media-thumbnail-grid-expo
Gathering detailed insights and metrics for react-native-media-thumbnail-grid-expo
Gathering detailed insights and metrics for react-native-media-thumbnail-grid-expo
Gathering detailed insights and metrics for react-native-media-thumbnail-grid-expo
npm install react-native-media-thumbnail-grid-expo
Typescript
Module System
Node Version
NPM Version
24.8
Supply Chain
29.5
Quality
64.6
Maintenance
25
Vulnerability
89
License
JavaScript (76.77%)
Objective-C (13.77%)
Python (5.38%)
Java (4.09%)
Total Downloads
1,726
Last Day
1
Last Week
4
Last Month
40
Last Year
736
1 Stars
50 Commits
2 Forks
4 Branches
Updated on Dec 17, 2020
Latest Version
1.1.1
Package Id
react-native-media-thumbnail-grid-expo@1.1.1
Unpacked Size
6.21 MB
Size
6.09 MB
File Count
58
NPM Version
6.12.1
Node Version
12.13.1
Cumulative downloads
Total Downloads
Last Day
-50%
1
Compared to previous day
Last Week
-63.6%
4
Compared to previous week
Last Month
81.8%
40
Compared to previous month
Last Year
63.2%
736
Compared to previous year
1
Code:
1const images = [ 2 'https://cdn.pixabay.com/photo/2017/06/09/09/39/adler-2386314_960_720.jpg', 3 'https://cdn.pixabay.com/photo/2017/06/02/18/24/fruit-2367029_960_720.jpg', 4 'https://cdn.pixabay.com/photo/2016/08/12/22/34/apple-1589869_960_720.jpg' 5] 6... 7<PhotoGrid source={images} onPressImage={uri => this.showImage(uri)} /> 8
The source
prop also accepts an Array of source objects like so:
1const images = [ 2 { 3 uri: 'https://cdn.pixabay.com/photo/2017/06/09/09/39/adler-2386314_960_720.jpg', 4 headers: { 5 Authorization: 'Bearer xyz' 6 } 7 }, 8 { 9 uri: 'https://cdn.pixabay.com/photo/2017/06/02/18/24/fruit-2367029_960_720.jpg', 10 headers: { 11 Authorization: 'Bearer xyz' 12 } 13 }, 14 { 15 uri: 'https://cdn.pixabay.com/photo/2016/08/12/22/34/apple-1589869_960_720.jpg' 16 headers: { 17 Authorization: 'Bearer xyz' 18 } 19 } 20] 21... 22<PhotoGrid source={images} onPressImage={source => this.showImage(source.uri)} />
Property | Type | Description |
---|---|---|
source | PropTypes.array | Array containing Image uri string or source object |
width | PropTypes.number | Container width |
height | PropTypes.number | Container height |
ratio | PropTypes.float | Split screen ratio |
style | PropTypes.object | Container styles |
imageStyle | PropTypes.object | Image styles |
imageProps | PropTypes.object | Image props |
onPressImage | PropTypes.func | Callback when press image |
emptyImage | default empty image load |
Property | Description |
---|---|
placeholderSource | Show placeholderSource if the source can't be loaded or error. |
loadingStyle | Style ActivityIndicator {size: 'small'; color: 'gray'} |
isShowActivity | Show ActivityIndicator loading |
placeholderStyle | Style placeholder image |
No vulnerabilities found.
Reason
binaries present in source code
Details
Reason
6 existing vulnerabilities detected
Details
Reason
Found 5/17 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-05-12
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More