import { TitleComponent } from '../../features/core'; import React, { HtmlHTMLAttributes, ReactNode } from 'react'; import { NotificationProps } from '../layout/Notification'; export interface LoginProps extends Omit, 'title'> { backgroundImage?: string; children?: ReactNode; classes?: object; className?: string; notification?: React.FC; staticContext?: any; theme?: object; title?: TitleComponent; } /** * A standalone login page, to serve as authentication gate to the admin * * Expects the user to enter a login and a password, which will be checked * by the `authProvider.login()` method. Redirects to the root page (/) * upon success, otherwise displays an authentication error message. * * Copy and adapt this component to implement your own login logic * (e.g. to authenticate via email or facebook or anything else). * * @example * import MyLoginPage from './MyLoginPage'; * const App = () => ( * * ... * * ); */ declare const Login: React.FunctionComponent; export default Login;