UNPKG

@mui/internal-docs-infra

Version:

MUI Infra - internal documentation creation tools.

11 lines 675 B
import * as React from 'react'; import type { CodeHighlighterChunkContentProps } from "./CodeHighlighterChunk.mjs"; /** * The chunk's full **server loader**: load every variant (highlighting them via the * heavy `loadIsomorphicCodeVariant` pipeline), then render the `'use client'` * `CodeHighlighterClient` with the loaded `Code`. Dynamically imported by * `CodeHighlighterChunk`, so it (and the pipeline) only reach the bundle when the * decision actually routes here. The prepared loading `fallback`/`residualFallbacks` * ride through the user props. */ export default function CodeSourceLoader(props: CodeHighlighterChunkContentProps): Promise<React.ReactElement>;