UNPKG

@tanstack/solid-router

Version:

Modern and scalable routing for Solid applications

5 lines (4 loc) 373 B
import * as Solid from 'solid-js'; export type NonRouteComponent = 'pendingComponent' | 'errorComponent' | 'notFoundComponent'; export declare const nonRouteComponentContext: Solid.Context<NonRouteComponent | undefined> | undefined; export declare function renderInNonRouteComponentContext(render: () => Solid.JSX.Element, component: NonRouteComponent): Solid.JSX.Element;