@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
14 lines (12 loc) • 920 B
TypeScript
import { default as React } from 'react';
import { FormFieldComponentProps } from '../../../lib/types/types';
interface PassedProps {
explanation?: string | JSX.Element;
onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
}
export declare const Email: ({ value, isErrored, onChange, explanation, intl, onKeyDown, onBlur, placeholder, disabled, }: FormFieldComponentProps & PassedProps) => React.JSX.Element;
export declare const EmailComponent: React.ComponentClass<Pick<FormFieldComponentProps<any> & PassedProps, "isErrored" | "onChange" | "value" | "disabled" | "onKeyDown" | "label" | "placeholder" | "autoFocus" | "onBlur" | "isRequired" | "explanation" | "errorId" | "verificationService">, any> & {
WrappedComponent: React.ComponentType<FormFieldComponentProps<any> & PassedProps & ReactIntl.InjectedIntlProps>;
};
export {};