import React from "react"; import { Control } from "react-hook-form"; import BasePhoneInput, { Props } from "react-phone-number-input/react-hook-form"; import "react-phone-number-input/style.css"; import classNames from "@lib/classNames"; type PhoneInputProps = { value: string; id: string; placeholder: string; required: boolean; }; export const PhoneInput = ({ control, name, ...rest }: Props) => ( { /* DO NOT REMOVE: Callback required by PhoneInput, comment added to satisfy eslint:no-empty-function */ }} /> ); export default PhoneInput;