react-intl-tel-input-wrapper
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

React-Intl-Tel-Input-wrapper

fork of React Intl Tel Input by patw0929

Adds support for react >=15.4

Demo & Examples

To build the examples locally, run:

yarn
yarn website:start

Then open localhost:3000 in a browser.

Installation

yarn add react-intl-tel-input-wrapper

TypeScript

react-intl-tel-input ships with official type declarations out of the box.

Usage

import IntlTelInput from 'react-intl-tel-input-wrapper'
import 'react-intl-tel-input-wrapper/dist/main.css'
;<IntlTelInput
  containerClassName="intl-tel-input"
  inputClassName="form-control"
/>

Development (src and the build process)

To build, watch and serve the examples (which will also watch the component source), run yarn website:start.

You can prepare a distribution build using yarn build.

Inspired by

International Telephone Input - @jackocnr

License

MIT

Package Sidebar

Install

npm i react-intl-tel-input-wrapper

Weekly Downloads

73

Version

1.0.3

License

MIT

Unpacked Size

254 kB

Total Files

29

Last publish

Collaborators

  • felipeanony