How to use the react-phone-input-2.default function in react-phone-input-2

To help you get started, we’ve selected a few react-phone-input-2 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lskjs / ux / src / Form2 / controls / PhoneInput / react-phone-input-2 / index.js View on Github external
if (typeof window !== 'undefined') {
  module.exports = require('react-phone-input-2').default;
} else {
  module.exports = () => null;
}

react-phone-input-2

A react component to format phone numbers

MIT
Latest version published 2 years ago

Package Health Score

58 / 100
Full package analysis

Popular react-phone-input-2 functions