UNPKG

next-auth

Version:

Authentication for Next.js

18 lines 620 B
import { Theme } from "../.."; import { InternalUrl } from "../../utils/parse-url"; /** * The following errors are passed as error query parameters to the default or overridden error page. * * [Documentation](https://next-auth.js.org/configuration/pages#error-page) */ export type ErrorType = "default" | "configuration" | "accessdenied" | "verification"; export interface ErrorProps { url?: InternalUrl; theme?: Theme; error?: ErrorType; } /** Renders an error page. */ export default function ErrorPage(props: ErrorProps): { status: any; html: JSX.Element; }; //# sourceMappingURL=error.d.ts.map