From 12f6065d84942b955045910786dadfd18e293aa1 Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Sun, 17 Oct 2021 22:10:41 +0100 Subject: [PATCH] Added @types/react-phone-number-input (#983) --- components/ui/form/PhoneInput.tsx | 4 ++-- package.json | 1 + yarn.lock | 7 +++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/components/ui/form/PhoneInput.tsx b/components/ui/form/PhoneInput.tsx index d88f28d4..d3e2dad2 100644 --- a/components/ui/form/PhoneInput.tsx +++ b/components/ui/form/PhoneInput.tsx @@ -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) => (