Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
react-contact-number-input
Advanced tools
Welcome to react-contact-number-input 👋 <img alt="License: MIT" src="https://img.shields
International phone number input component for react
npm install react-contact-number-input
👤 vaibhav-systango
You need to import ReactCountryInput from package react-country-input with the props using below-
Code Example:
import { PhoneInput } from "react-contact-number-input";
<PhoneInput
disabled={disabled}
containerClass={containerClass}
countryCode={currentCountryCode}
onChange={handleOnChange}
placeholder={placeholder}
/>;
Name | Type | Description |
---|---|---|
onChange | func | required, returns the object with the details of the number |
countryCode | string | default value= 'us', selected country phone code. |
placeholder | string | default value= 'Enter Mobile Number' ,change the value of phone input placeholder |
containerClass | string | default value= '' ,change the phone input styling |
disabled | boolean | default value= false ,handles the input to be disabled or not |
At least React@17.0.2
is required due to hooks
usage in the dependency
FAQs
Welcome to react-contact-number-input 👋 <img alt="License: MIT" src="https://img.shields
We found that react-contact-number-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.