UNPKG

impair

Version:

impair is a React framework bringing several programming concepts together in order to provide a foundation for a layered, scalable, performant and enterprise level react application.

9 lines (8 loc) 601 B
import { RefObject } from 'react'; import { DependencyContainer } from 'tsyringe'; declare let currentComponentContainerRef: RefObject<DependencyContainer | undefined> | undefined; export declare function setCurrentComponentContainerRef(containerRef: typeof currentComponentContainerRef): void; export declare function setCurrentComponentPropsRef(propsRef: RefObject<any> | undefined): void; export declare function getCurrentComponentContainerRef(): RefObject<DependencyContainer | undefined> | undefined; export declare function getCurrentComponentPropsRef(): RefObject<any> | undefined; export {};