Added @types/react-phone-number-input (#983)
This commit is contained in:
		
							parent
							
								
									415d5fe8bd
								
							
						
					
					
						commit
						12f6065d84
					
				
					 3 changed files with 10 additions and 2 deletions
				
			
		|  | @ -1,10 +1,10 @@ | ||||||
| import React from "react"; | import React from "react"; | ||||||
| import { default as BasePhoneInput } from "react-phone-number-input"; | import { default as BasePhoneInput, PhoneInputProps } from "react-phone-number-input"; | ||||||
| import "react-phone-number-input/style.css"; | import "react-phone-number-input/style.css"; | ||||||
| 
 | 
 | ||||||
| import classNames from "@lib/classNames"; | import classNames from "@lib/classNames"; | ||||||
| 
 | 
 | ||||||
| export const PhoneInput = (props: any /* FIXME */) => ( | export const PhoneInput = (props: PhoneInputProps) => ( | ||||||
|   <BasePhoneInput |   <BasePhoneInput | ||||||
|     {...props} |     {...props} | ||||||
|     className={classNames( |     className={classNames( | ||||||
|  |  | ||||||
|  | @ -107,6 +107,7 @@ | ||||||
|     "@types/nodemailer": "^6.4.4", |     "@types/nodemailer": "^6.4.4", | ||||||
|     "@types/qrcode": "^1.4.1", |     "@types/qrcode": "^1.4.1", | ||||||
|     "@types/react": "^17.0.18", |     "@types/react": "^17.0.18", | ||||||
|  |     "@types/react-phone-number-input": "^3.0.13", | ||||||
|     "@types/react-select": "^4.0.17", |     "@types/react-select": "^4.0.17", | ||||||
|     "@types/uuid": "8.3.1", |     "@types/uuid": "8.3.1", | ||||||
|     "@typescript-eslint/eslint-plugin": "^4.30.0", |     "@typescript-eslint/eslint-plugin": "^4.30.0", | ||||||
|  |  | ||||||
|  | @ -1819,6 +1819,13 @@ | ||||||
|   dependencies: |   dependencies: | ||||||
|     "@types/react" "*" |     "@types/react" "*" | ||||||
| 
 | 
 | ||||||
|  | "@types/react-phone-number-input@^3.0.13": | ||||||
|  |   version "3.0.13" | ||||||
|  |   resolved "https://registry.yarnpkg.com/@types/react-phone-number-input/-/react-phone-number-input-3.0.13.tgz#4eb7dcd278dcf9eb2a8d2ce2cb304657cbf1b4e5" | ||||||
|  |   integrity sha512-27k7AvLbzCjpuRORFhehFdRHVan1q6RhSTV7dFiXwZ2ojnS/JMx77wd9OyAU464oN0GIlkfhc0njGzL97/xNcw== | ||||||
|  |   dependencies: | ||||||
|  |     "@types/react" "*" | ||||||
|  | 
 | ||||||
| "@types/react-select@^4.0.17": | "@types/react-select@^4.0.17": | ||||||
|   version "4.0.18" |   version "4.0.18" | ||||||
|   resolved "https://registry.yarnpkg.com/@types/react-select/-/react-select-4.0.18.tgz#f907f406411afa862217a9d86c54a301367a35c1" |   resolved "https://registry.yarnpkg.com/@types/react-select/-/react-select-4.0.18.tgz#f907f406411afa862217a9d86c54a301367a35c1" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Alex van Andel
						Alex van Andel