Installations
npm install react-native-ico-flags
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
20.9.0
NPM Version
10.1.0
Score
45.3
Supply Chain
59.9
Quality
77.1
Maintenance
50
Vulnerability
93.4
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
ivanoff
Download Statistics
Total Downloads
44,108
Last Day
17
Last Week
157
Last Month
674
Last Year
14,788
GitHub Statistics
10 Stars
36 Commits
5 Forks
4 Watching
1 Branches
3 Contributors
Package Meta Information
Latest Version
6.4.1
Package Id
react-native-ico-flags@6.4.1
Unpacked Size
350.07 kB
Size
74.70 kB
File Count
6
NPM Version
10.1.0
Node Version
20.9.0
Publised On
12 Dec 2024
Total Downloads
Cumulative downloads
Total Downloads
44,108
Last day
-26.1%
17
Compared to previous day
Last week
-27.3%
157
Compared to previous week
Last month
5.6%
674
Compared to previous month
Last year
29.3%
14,788
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Flags Icons for React Native
react-native-ico-flags
259 Vector Icons for React Native
List of icons
Usage
import Icon from 'react-native-ico-flags';
// Inside some view component
render() {
return (
<>
<Icon name="slovenia" />
<Icon name="puerto-rico" height="40" width="40" />
<Icon name="mozambique" color="red" />
<Icon name="mozambique" colors={{ "#000000": "#FFFFFF" }} />
<Icon name="puerto-rico" badge="10" />
<Icon name="puerto-rico" badge={{value: 'A', fontSize: 25, radius: 22, position:'top_left', color:'orange', backgroundColor:'blue'}}/>
<Icon name="slovenia" background="circle" />
<Icon name="slovenia" background={{ type: "button", color: 'green' }} />
</>
);
}
Installation
yarn
1yarn add react-native-ico-flags react-native-svg
npm
1npm install --save react-native-ico-flags react-native-svg
Link react-native-svg
1react-native link react-native-svg
pod install ( for iOS )
cd ios && pod install && cd ..
API
<Icon name [color width height background badge ...rest] />
Returns a SvgXml icon by name and group.
name | optional | default value | description | examples |
---|---|---|---|---|
name | no | name of icon | "slovenia" | |
color | yes | line color, css style | "#00ff00", "#0f0", "green" | |
colors | yes | replace colors | {"#FFFFFF": "#000000"} // white to black | |
width | yes | 20 | width of the icon | 40 |
height | yes | 20 | height of the icon | 40 |
background | yes | background type | "circle" | |
background | yes | background object | {type: "circle", color: 'yellow'} | |
badge | yes | badge string | "10" | |
badge | yes | badge object | {value: 'A', fontSize: 25, radius: 22, position:'top_left', color:'orange', backgroundColor:'blue'} | |
...rest | yes | other props | style={{backgroundColor: "#00f"}} |
Icons Made by
Created by
Dimitry Ivanov 2@ivanoff.org.ua # curl -A cv ivanoff.org.ua
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
7 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 7
Reason
Found 3/29 approved changesets -- score normalized to 1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 4 are checked with a SAST tool
Score
3.7
/10
Last Scanned on 2024-12-23
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