@maskedeng-tom/ssrsx
Version:
server side renderer with tsx
18 lines (17 loc) • 426 B
TypeScript
import { VirtualChildren } from 'ssrsxjsx/jsx-runtime';
interface RouterContext {
basename: string;
matched: string;
params: {
[key: string]: string;
};
routes?: {
resolved?: boolean;
};
}
declare const Router: ({ children }: {
children?: VirtualChildren;
}) => import("ssrsxjsx/jsx-runtime").VirtualElement;
export default Router;
export { Router };
export type { RouterContext };