UNPKG

jslib-nightly

Version:

SheerID JavaScript Library

13 lines (12 loc) 779 B
/// <reference types="react-intl" /> import React from 'react'; import { FormFieldComponentProps } from '../../../lib/types/types'; interface PassedProps { explanation?: string | JSX.Element; onKeyDown?: Function; } export declare const Email: ({ value, isErrored, onChange, explanation, intl, onKeyDown, placeholder, }: FormFieldComponentProps & PassedProps) => JSX.Element; export declare const EmailComponent: React.ComponentClass<Pick<FormFieldComponentProps<any> & PassedProps, "errorId" | "isErrored" | "onChange" | "onKeyDown" | "autoFocus" | "placeholder" | "value" | "isRequired" | "verificationService" | "explanation">, any> & { WrappedComponent: React.ComponentType<FormFieldComponentProps<any> & PassedProps & ReactIntl.InjectedIntlProps>; }; export {};