UNPKG

aws-amplify-react

Version:

AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.

29 lines (28 loc) 697 B
import * as React from 'react'; export interface IMFATypes { SMS: boolean; TOTP: boolean; Optional: boolean; } export interface ISelectMFATypeProps { authData: any; MFATypes: IMFATypes; theme?: any; } export interface ISelectMFATypeState { selectMessage: string | null; showToast?: boolean; TOTPSetup: boolean; } export declare class SelectMFAType extends React.Component<ISelectMFATypeProps, ISelectMFATypeState> { inputs: any; constructor(props: any); handleInputChange(evt: any): void; verify(): void; selectView(theme: any): JSX.Element; render(): JSX.Element; } /** * @deprecated use named import */ export default SelectMFAType;