@proxydi/react
Version:
React wrapper for the ProxyDi library
8 lines (7 loc) • 304 B
TypeScript
import { ProxyDiContainer } from 'proxydi';
/**
* Returns the ProxyDi container instance provided by the context if you need it by some reason
*
* @returns {ProxyDiContainer} The ProxyDi container instance provided by the context.
*/
export declare const useProxyDiContainer: () => ProxyDiContainer;