UNPKG

mobx-react-routing

Version:
6 lines 351 B
import { ComponentType } from 'react'; import type { RouterStore } from '../router/index.js'; export declare function withRouteBlocker<P>(router: RouterStore, Component: ComponentType<P>, Fallback?: ComponentType): ((props: P) => import("react/jsx-runtime").JSX.Element) & { displayName: string; }; //# sourceMappingURL=with-route-blocker.d.ts.map