@mui/internal-docs-infra
Version:
MUI Infra - internal documentation creation tools.
8 lines (7 loc) • 303 B
JavaScript
'use client';
import * as React from 'react';
export var CodeErrorsContext = /*#__PURE__*/React.createContext(undefined);
if (process.env.NODE_ENV !== "production") CodeErrorsContext.displayName = "CodeErrorsContext";
export function useErrorsContext() {
return React.useContext(CodeErrorsContext);
}