@tanstack/solid-router
Version:
Modern and scalable routing for Solid applications
12 lines (11 loc) • 477 B
text/typescript
import { NotFoundError } from '@tanstack/router-core';
import * as Solid from 'solid-js';
export declare function getNotFound(error: unknown): (NotFoundError & {
isNotFound: true;
}) | undefined;
export declare function CatchNotFound(props: {
fallback?: (error: NotFoundError) => Solid.JSX.Element;
onCatch?: (error: NotFoundError) => void;
children: Solid.JSX.Element;
}): Solid.JSX.Element;
export declare function DefaultGlobalNotFound(): Solid.JSX.Element;