UNPKG

amplify-material-ui

Version:

A Material-UI based implementation of aws amplify

15 lines (14 loc) 523 B
import * as React from 'react'; import { UsernameAttribute } from './types'; export interface AuthConfig { hideSignUpLink?: boolean; hideForgotPasswordLink?: boolean; usernameAttribute?: UsernameAttribute; title?: string | React.ReactElement; } export interface AuthRouteProps extends AuthConfig { validAuthStates: string[]; component?: React.FC<AuthConfig & Record<string, any>>; children?: (props: AuthConfig) => React.ReactElement; } export declare const AuthRoute: React.FC<AuthRouteProps>;