UNPKG

@talend/react-cmf

Version:

A framework built on top of best react libraries

12 lines 499 B
/** * Internal. This is the component which inject the registry as child context. * It is called by the App component * @module react-cmf/lib/RegistryProvider * @see module:react-cmf/lib/App */ import { createContext } from 'react'; import Registry from './registry'; export const RegistryContext = /*#__PURE__*/createContext(Registry.getRegistry()); export const RegistryProvider = RegistryContext.Provider; export default RegistryContext.Provider; //# sourceMappingURL=RegistryProvider.js.map