@allenai/varnish-react-router
Version:
An extension to Varnish for applications that use React Router.
4 lines (3 loc) • 343 B
TypeScript
/// <reference types="react" />
import { RouteComponentProps } from 'react-router-dom';
export declare const ScrollToTopOnPageChange: import("react").ComponentClass<Pick<RouteComponentProps<{}, import("react-router").StaticContext, unknown>, never>, any> & import("react-router").WithRouterStatics<({ history }: RouteComponentProps) => null>;