@tanstack/solid-router
Version:
Modern and scalable routing for Solid applications
12 lines (11 loc) • 420 B
text/typescript
import { ErrorRouteComponent } from './route.cjs';
import * as Solid from 'solid-js';
export declare function CatchBoundary(props: {
getResetKey: () => number | string;
children: Solid.JSX.Element;
errorComponent?: ErrorRouteComponent;
onCatch?: (error: Error) => void;
} & Solid.ParentProps): Solid.JSX.Element;
export declare function ErrorComponent({ error }: {
error: any;
}): Solid.JSX.Element;