UNPKG

542 BTypeScriptView Raw
1import React from "react";
2export default function OverlayCreator(): () => {
3 /**
4 * Fires when any Reactotron message arrives.
5 */
6 onCommand: (command: import("lib/reactotron-core-contract/dist/types/src").Command<import("lib/reactotron-core-contract/dist/types/src").CommandTypeKey, any>) => void;
7 features: {
8 overlay: (WrappedComponent: React.ComponentType) => (props?: Record<string, any>) => React.JSX.Element;
9 };
10};
11export type OverlayFeatures = ReturnType<ReturnType<typeof OverlayCreator>>["features"];