Gathering detailed insights and metrics for react_countries_picker
Gathering detailed insights and metrics for react_countries_picker
npm install react_countries_picker
Typescript
Module System
Node Version
NPM Version
61.2
Supply Chain
84.7
Quality
81
Maintenance
100
Vulnerability
100
License
Total Downloads
700
Last Day
1
Last Week
9
Last Month
39
Last Year
700
Minified
Minified + Gzipped
Latest Version
0.0.8
Package Id
react_countries_picker@0.0.8
Unpacked Size
1.05 MB
Size
618.98 kB
File Count
6
NPM Version
10.7.0
Node Version
20.14.0
Publised On
26 Jun 2024
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
9
Compared to previous week
Last month
225%
39
Compared to previous month
Last year
0%
700
Compared to previous year
3
33
A reusable React component for selecting countries, complete with country flags and dial codes.
Install the package via npm:
1npm install react_countries_picker
1import React from "react"; 2import CountryPicker from "react_countries_picker"; 3 4const App = () => { 5 const handleCountryChange = (country) => { 6 console.log(country); 7 }; 8 9 return ( 10 <div> 11 <h1>Select Country Code</h1> 12 <CountryPicker onChange={handleCountryChange} /> 13 </div> 14 ); 15}; 16 17export default App;
Parameter | Type | Description |
---|---|---|
onCountryChange | function | Required. function to be called when a country is picked |
style | object | optional. An object containing custom styles |
This project is used by the following companies:
For support, email headricleonard@gmail.com
No vulnerabilities found.
No security vulnerabilities found.