react-telephone-input
Advanced tools
Comparing version 4.2.3 to 4.3.3
{ | ||
"name": "react-telephone-input", | ||
"version": "4.2.3", | ||
"version": "4.3.3", | ||
"description": "React component for entering and validating international telephone numbers", | ||
@@ -5,0 +5,0 @@ "main": "lib/ReactTelephoneInput.js", |
@@ -89,3 +89,13 @@ Reactjs Component for International Telephone Input | ||
#### inputProps | ||
Object. If you want to set some property on the input element, you can pass in an object with the attribute. E.g. | ||
```javascript | ||
let inputProps={ | ||
readOnly: true | ||
} | ||
<ReactTelephoneInput inputProps={inputProps} ... /> | ||
``` | ||
## How to use it | ||
@@ -92,0 +102,0 @@ - If you install it from `npm install`, you can just do `var ReactTelephoneInput = require('react-telephone-input');` |
139
25635
4
841