UNPKG

mobx-react-routing

Version:
6 lines 356 B
import type { 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