UNPKG

@mui/internal-docs-infra

Version:

MUI Infra - internal documentation creation tools.

13 lines (12 loc) 640 B
'use client'; import * as React from 'react'; /** * Provided by a `CoordinatedLazy` to its fallback subtree while the fallback is * shown. Carries the upward hoist channel and the nested-suppression flag. * * `undefined` outside a fallback subtree: a fallback reads it via * `useCoordinatedFallback`, and a nested `CoordinatedLazy` detects its presence * to know it is rendered inside an outer instance's still-loading fallback. */ export const CoordinatedFallbackContext = /*#__PURE__*/React.createContext(undefined); if (process.env.NODE_ENV !== "production") CoordinatedFallbackContext.displayName = "CoordinatedFallbackContext";