UNPKG

@sheerid/jslib-nightly

Version:

SheerID JavaScript Library

13 lines (11 loc) 774 B
import { default as React } from 'react'; import { FormFieldComponentProps } from '../../../lib/types/types'; interface PassedProps { explanation?: string | JSX.Element; onKeyDown?: Function; } export declare const State: ({ value, isErrored, onChange, intl, onKeyDown, placeholder, }: FormFieldComponentProps & PassedProps) => React.JSX.Element; export declare const StateComponent: React.ComponentClass<Pick<FormFieldComponentProps<any> & PassedProps, "isErrored" | "onChange" | "value" | "disabled" | "onKeyDown" | "label" | "placeholder" | "autoFocus" | "isRequired" | "explanation" | "errorId" | "verificationService">, any> & { WrappedComponent: React.ComponentType<FormFieldComponentProps<any> & PassedProps & ReactIntl.InjectedIntlProps>; }; export {};