@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
17 lines (15 loc) • 1.19 kB
TypeScript
import { default as React } from 'react';
import { FormFieldComponentProps, VerificationServiceProps, Organization } from '../../../lib/types/types';
interface BranchOfServiceComponentProps {
/**
* @deprecated Orgs are fetch lazily, within this component, now
* A list of orgs is no-longer passed-in and then filtered
* Don't provide this any more
*/
organizations?: Organization[];
}
export declare const BranchOfService: ({ autoFocus, onChange, value, isErrored, organizations, verificationService, intl, placeholder, disabled, }: FormFieldComponentProps & VerificationServiceProps & BranchOfServiceComponentProps) => React.JSX.Element;
export declare const BranchOfServiceComponent: React.ComponentClass<Pick<FormFieldComponentProps<any> & VerificationServiceProps & BranchOfServiceComponentProps, "isErrored" | "onChange" | "value" | "disabled" | "onKeyDown" | "label" | "placeholder" | "autoFocus" | "isRequired" | "errorId" | "verificationService" | "organizations">, any> & {
WrappedComponent: React.ComponentType<FormFieldComponentProps<any> & VerificationServiceProps & BranchOfServiceComponentProps & ReactIntl.InjectedIntlProps>;
};
export {};