UNPKG

574 BTypeScriptView Raw
1import React from "react";
2import StorybookSwitcher from "./storybook";
3/**
4 * A plugin which provides .storybookSwitcher() on Reactotron.
5 */
6declare const _default: () => () => {
7 onCommand: (command: import("lib/reactotron-core-contract/dist/types/src").Command<import("lib/reactotron-core-contract/dist/types/src").CommandTypeKey, any>) => void;
8 features: {
9 storybookSwitcher: (storybookUi: StorybookSwitcher["props"]["storybookUi"]) => (WrappedComponent: React.ComponentType<any>) => (props: any) => React.JSX.Element;
10 };
11};
12export default _default;