UNPKG

@tanstack/solid-router

Version:

Modern and scalable routing for Solid applications

12 lines (11 loc) 421 B
import * as Solid from 'solid-js'; import type { ErrorRouteComponent } from './route'; 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;