@mui/internal-docs-infra
Version:
MUI Infra - internal documentation creation tools.
10 lines • 628 B
text/typescript
import * as React from 'react';
import type { CodeHighlighterChunkContentProps } from "./CodeHighlighterChunk.mjs";
/**
* The chunk's **server initial loader**: load just the initial source (a quick
* fallback paint) via `loadCodeFallback`, prepare the loading fallback + compressed
* residual from it, then **re-enter the chunk** with the initial in hand
* (`skipInitialLoad`, so it routes to the full server loader or the client - never
* back here). Dynamically imported by `CodeHighlighterChunk`.
*/
export default function CodeInitialSourceLoader(props: CodeHighlighterChunkContentProps): Promise<React.ReactElement>;