react-singletons
Version:
React Singletons brings the singleton pattern to React components. This module allows applications to create components that live outside of your application with shared states for popups and overlays.
7 lines • 343 B
TypeScript
import { ComponentType } from "react";
import { SingletonComponentWrapper } from "../Components/SingletonComponentWrapper";
export interface ISingletonComponentWrapperProps {
wrappedComponent: ComponentType<any>;
referenceCallback: (a: SingletonComponentWrapper) => void;
}
//# sourceMappingURL=ISingletonComponentWrapperProps.d.ts.map