1- # antd-phone-input
1+ # Antd Phone Input
22
33[ ![ npm] ( https://img.shields.io/npm/v/antd-phone-input )] ( https://www.npmjs.com/package/antd-phone-input )
4- [ ![ antd] ( https://img.shields.io/badge/antd-3.x%20%7C%204 .x%20%7C%205.x-blue )] ( https://github.com/ant-design/ant-design )
4+ [ ![ antd] ( https://img.shields.io/badge/antd-4 .x%20%7C%205.x-blue )] ( https://github.com/ant-design/ant-design )
55[ ![ types] ( https://img.shields.io/npm/types/antd-phone-input )] ( https://www.npmjs.com/package/antd-phone-input )
66[ ![ License] ( https://img.shields.io/npm/l/antd-phone-input )] ( https://github.com/ArtyomVancyan/antd-phone-input/blob/master/LICENSE )
77[ ![ PRs Welcome] ( https://img.shields.io/badge/PRs-welcome-brightgreen.svg )] ( https://makeapullrequest.com )
88[ ![ Tests] ( https://github.com/ArtyomVancyan/antd-phone-input/actions/workflows/tests.yml/badge.svg )] ( https://github.com/ArtyomVancyan/antd-phone-input/actions/workflows/tests.yml )
99
1010Advanced phone input component for [ Ant Design] ( https://github.com/ant-design/ant-design ) that provides support for all
11- countries and is compatible with [ ` antd ` ] ( https://github.com/ant-design/ant-design ) 3 and higher versions. It has
12- built-in support for area codes and provides validation to ensure that the entered numbers are valid. This open-source
13- project is designed to simplify the process of collecting phone numbers from users.
11+ countries and is compatible with [ ` antd ` ] ( https://github.com/ant-design/ant-design ) 4 and 5 versions. It has built-in
12+ support for area codes and provides validation to ensure that the entered numbers are valid. This open-source project
13+ is designed to simplify the process of collecting phone numbers from users.
1414
1515## Install
1616
@@ -24,10 +24,8 @@ yarn add antd-phone-input
2424
2525## Usage
2626
27- As mentioned above, this component is compatible with ` 3.x ` , ` 4.x ` , and after
28- the [ v0.1.4] ( https://github.com/ArtyomVancyan/antd-phone-input/releases/tag/v0.1.4 ) release, ` 5.x ` versions of Ant
29- Design. The latest one does not require any additional actions for loading the styles as it
30- uses [ ` cssinjs ` ] ( https://github.com/ant-design/cssinjs ) ecosystem.
27+ The latest version does not require any additional actions for loading the styles as it uses
28+ the [ ` cssinjs ` ] ( https://github.com/ant-design/cssinjs ) ecosystem.
3129
3230### Antd 5.x
3331
@@ -47,9 +45,9 @@ const Demo = () => {
4745
4846![ latest] ( https://user-images.githubusercontent.com/44609997/227775101-72b03e76-52bc-421d-8e75-a03c9d0d6d08.png )
4947
50- ### Antd 4.x and older
48+ ### Antd 4.x
5149
52- For ` 4.x ` and older versions, you should use the ` legacy ` endpoint.
50+ For ` 4.x ` versions, you should use the ` legacy ` endpoint.
5351
5452``` javascript
5553import PhoneInput from " antd-phone-input/legacy" ;
0 commit comments