bpms_site/.svn/pristine/80/80228330e4c799509041869622b33fc0a6daeb1f.svn-base
2025-11-02 16:38:49 +03:30

19 lines
610 B
Plaintext

import React from 'react';
import type { NextPageContext } from '../shared/lib/utils';
export type ErrorProps = {
statusCode: number;
title?: string;
withDarkMode?: boolean;
};
declare function _getInitialProps({ res, err, }: NextPageContext): Promise<ErrorProps> | ErrorProps;
/**
* `Error` component used for handling errors.
*/
export default class Error<P = {}> extends React.Component<P & ErrorProps> {
static displayName: string;
static getInitialProps: typeof _getInitialProps;
static origGetInitialProps: typeof _getInitialProps;
render(): React.JSX.Element;
}
export {};