Telephone input component. rewrite Patw's react-intl-tel-input package for React 18
npm install react-intl-tel-input-wrapperfork of React Intl Tel Input by patw0929
Adds support for react >=15.4
To build the examples locally, run:
``bash`
yarn
yarn website:start
Then open localhost:3000 in a browser.
`bash`
yarn add react-intl-tel-input-wrapper
react-intl-tel-input ships with official type declarations out of the box.
`javascript`
import IntlTelInput from 'react-intl-tel-input-wrapper'
import 'react-intl-tel-input-wrapper/dist/main.css'
;
inputClassName="form-control"
/>
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`.
International Telephone Input - @jackocnr
MIT