UNPKG

@mui/internal-docs-infra

Version:

MUI Infra - internal documentation creation tools.

15 lines 747 B
import * as React from 'react'; import type { CoordinatedContentContextValue } from "./types.mjs"; /** * Carries the data the fallback hoisted down into the full content. A * `CoordinatedLazy` provides it around `content` after the swap; content reads * it via {@link useCoordinatedContent}. */ export declare const CoordinatedContentContext: React.Context<CoordinatedContentContextValue>; /** * Read the data the fallback hoisted, from inside the full content. Lets the * content use what the fallback fetched (e.g. a decompression dictionary) * without the consumer threading it through props. Returns an empty map when * rendered outside a `CoordinatedLazy`. */ export declare function useCoordinatedContent(): Record<string, unknown>;