main repo

This commit is contained in:
Basilosaurusrex
2025-11-24 18:09:40 +01:00
parent b636ee5e70
commit f027651f9b
34146 changed files with 4436636 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
import type { FlightSegmentPath, ChildProp } from '../../server/app-render/types';
import type { ErrorComponent } from './error-boundary';
import React from 'react';
/**
* OuterLayoutRouter handles the current segment as well as <Offscreen> rendering of other segments.
* It can be rendered next to each other with a different `parallelRouterKey`, allowing for Parallel routes.
*/
export default function OuterLayoutRouter({ parallelRouterKey, segmentPath, childProp, error, errorStyles, templateStyles, loading, loadingStyles, hasLoading, template, notFound, notFoundStyles, styles, }: {
parallelRouterKey: string;
segmentPath: FlightSegmentPath;
childProp: ChildProp;
error: ErrorComponent;
errorStyles: React.ReactNode | undefined;
templateStyles: React.ReactNode | undefined;
template: React.ReactNode;
loading: React.ReactNode | undefined;
loadingStyles: React.ReactNode | undefined;
hasLoading: boolean;
notFound: React.ReactNode | undefined;
notFoundStyles: React.ReactNode | undefined;
styles?: React.ReactNode;
}): React.JSX.Element;