Added @types/react-phone-number-input (#983)

This commit is contained in:
Alex van Andel 2021-10-17 22:10:41 +01:00 committed by GitHub
parent 415d5fe8bd
commit 12f6065d84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View file

@ -1,10 +1,10 @@
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 classNames from "@lib/classNames";
export const PhoneInput = (props: any /* FIXME */) => (
export const PhoneInput = (props: PhoneInputProps) => (
<BasePhoneInput
{...props}
className={classNames(

View file

@ -107,6 +107,7 @@
"@types/nodemailer": "^6.4.4",
"@types/qrcode": "^1.4.1",
"@types/react": "^17.0.18",
"@types/react-phone-number-input": "^3.0.13",
"@types/react-select": "^4.0.17",
"@types/uuid": "8.3.1",
"@typescript-eslint/eslint-plugin": "^4.30.0",

View file

@ -1819,6 +1819,13 @@
dependencies:
"@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":
version "4.0.18"
resolved "https://registry.yarnpkg.com/@types/react-select/-/react-select-4.0.18.tgz#f907f406411afa862217a9d86c54a301367a35c1"