import { BaseAuthProps } from './types';
type LoginPageProps = BaseAuthProps & {
/**
* Indicates whether to enable the password recovery screen.
* If enabled, it is advisable to register a route to /recover with a component
* that takes care of recovery, you can use the Applica component directly for this
*
* @see RecoverPage for more information.
* @example
* import { RecoverPage } from "@applica-software-guru/react-admin";
*
*
*
*/
enablePasswordRecover?: boolean;
/**
* Indicates whether to enable the registration screen.
* If enabled, it is advisable to register a route to /register with a component
* that takes care of registration, you can use the Applica component directly for this
*
* @see RegisterPage for more information.
* @example
* import { RegisterPage } from "@applica-software-guru/react-admin";
*
*
*
*/
enableRegistration?: boolean;
/**
* Indicates the page to redirect the user to after login.
* If not specified, the react-admin home page is used.
*/
redirectTo: string;
/**
* Indicates which OAuth providers to enable and configurations.
*/
oauth?: {
google?: {
clientId: string;
};
};
};
declare function LoginPage({ version, name, copy, logo, enablePasswordRecover, enableRegistration, oauth, redirectTo, background }: LoginPageProps): JSX.Element;
export { LoginPage };
export type { LoginPageProps };
//# sourceMappingURL=LoginPage.d.ts.map