UNPKG

jslib-nightly

Version:

SheerID JavaScript Library

18 lines (17 loc) 960 B
/// <reference types="react-intl" /> import React from 'react'; import { FormFieldComponentProps } from '../../../lib/types/types'; interface PhoneNumberProps { explanation?: string | JSX.Element; isRequired?: boolean; onKeyDown?: Function; onCarrierConsentChange?: Function; displaySmsConsent?: boolean; requireCarrierConsent?: boolean; carrierConsent?: boolean; internationalSupport?: boolean; } export declare const PhoneNumberComponent: React.ComponentClass<Pick<FormFieldComponentProps<any> & PhoneNumberProps, "errorId" | "isErrored" | "onChange" | "onKeyDown" | "autoFocus" | "placeholder" | "value" | "isRequired" | "verificationService" | "explanation" | "onCarrierConsentChange" | "displaySmsConsent" | "requireCarrierConsent" | "carrierConsent" | "internationalSupport">, any> & { WrappedComponent: React.ComponentType<FormFieldComponentProps<any> & PhoneNumberProps & ReactIntl.InjectedIntlProps>; }; export {};