jslib-nightly
Version:
SheerID JavaScript Library
15 lines (14 loc) • 768 B
TypeScript
import React from 'react';
import { InjectedIntl } from 'react-intl';
import { VerificationService, Country, FormSelectChoice, ViewModel } from '../../../lib/types/types';
declare type CountryComponentWrapperProps = {
verificationService: VerificationService;
viewModel: ViewModel;
intl: InjectedIntl;
nextFocusField?: string;
viewModelDraftDecorator?: (draft: ViewModel, countryChoice?: FormSelectChoice<Country, string>) => void;
};
export declare const CountryComponentWrapper: React.ComponentClass<Pick<CountryComponentWrapperProps, "viewModel" | "verificationService" | "nextFocusField" | "viewModelDraftDecorator">, any> & {
WrappedComponent: React.ComponentType<CountryComponentWrapperProps & ReactIntl.InjectedIntlProps>;
};
export {};