react-simple-phone-input 3.1.6 → 3.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,6 +8,8 @@ A simple and customizable react phone number dropdown component. It can mixed up
8
8
  [![PRs Welcome](https://cdn.jsdelivr.net/gh/siamahnaf198/react-simple-phone-input@main/assets/prs-welcome.svg)](https://github.com/siamahnaf198/react-simple-phone-input)
9
9
  [![MIT licensed](https://cdn.jsdelivr.net/gh/siamahnaf198/react-simple-phone-input@main/assets/license.svg)](https://github.com/siamahnaf198/react-simple-phone-input/blob/main/LICENSE)
10
10
 
11
+ -SSR Friendly
12
+
11
13
  ## Installation
12
14
 
13
15
  ```shell-script
@@ -18,8 +20,7 @@ $ npm i react-simple-phone-input --save
18
20
 
19
21
  ```jsx
20
22
  import { PhoneInput } from "react-simple-phone-input";
21
- //or
22
- //const { PhoneInput } = require("react-simple-phone-input")
23
+ import "react-simple-phone-input/dist/style.css";
23
24
 
24
25
  <PhoneInput
25
26
  country="US"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-simple-phone-input",
3
- "version": "3.1.6",
3
+ "version": "3.1.7",
4
4
  "description": "A simple react phone input component with calling code dropdown🤷",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",