reactotron-react-native

  • Version 5.0.0
  • Published
  • 35.6 kB
  • 5 dependencies
  • MIT license

Install

npm i reactotron-react-native
yarn add reactotron-react-native
pnpm add reactotron-react-native

Overview

A development tool to explore, inspect, and diagnose your React Native apps.

Index

Variables

variable reactotron

const reactotron: any;

    Functions

    function asyncStorage

    asyncStorage: <ReactotronSubtype = ReactotronReactNative>(
    options: AsyncStorageOptions
    ) => (
    reactotron: any
    ) => {
    features: { trackAsyncStorage: () => void; untrackAsyncStorage: () => void };
    };

      function devTools

      devTools: () => () => { onCommand: (command: any) => void };

        function networking

        networking: <ReactotronSubtype = any>(
        pluginConfig?: NetworkingOptions
        ) => (reactotron: any) => {};

          function openInEditor

          openInEditor: (
          pluginConfig?: OpenInEditorOptions
          ) => () => { onCommand: (command: any) => void };

            function overlay

            overlay: () => () => {
            onCommand: (command: any) => void;
            features: { overlay: (WrappedComponent: any) => (props: any) => any };
            };

              function storybook

              storybook: () => () => {
              onCommand: (command: any) => void;
              features: {
              storybookSwitcher: (
              storybookUi: any
              ) => (WrappedComponent: any) => (props: any) => any;
              };
              };

                function trackGlobalErrors

                trackGlobalErrors: <ReactotronSubtype = any>(
                options: TrackGlobalErrorsOptions
                ) => (
                reactotron: any
                ) => {
                features: {
                reportError: (error: any) => void;
                trackGlobalErrors: () => void;
                untrackGlobalErrors: () => void;
                };
                };

                  Interfaces

                  interface ReactotronReactNative

                  interface ReactotronReactNative {}

                    property asyncStorageHandler

                    asyncStorageHandler?: any;

                      property overlay

                      overlay: (App: React.ReactNode) => void;

                        property setAsyncStorageHandler

                        setAsyncStorageHandler?: (
                        asyncStorage: any
                        ) => Reactotron<ReactotronReactNative> & ReactotronReactNative;

                          property storybookSwitcher

                          storybookSwitcher: (
                          App: React.ReactNode
                          ) => (Root: React.ReactNode) => React.ReactNode;

                            property useReactNative

                            useReactNative: (
                            options?: UseReactNativeOptions
                            ) => Reactotron<ReactotronReactNative> & ReactotronReactNative;

                              interface UseReactNativeOptions

                              interface UseReactNativeOptions {}

                                property asyncStorage

                                asyncStorage?: AsyncStorageOptions | boolean;

                                  property devTools

                                  devTools?: boolean;

                                    property editor

                                    editor?: OpenInEditorOptions | boolean;

                                      property errors

                                      errors?: TrackGlobalErrorsOptions | boolean;

                                        property networking

                                        networking?: NetworkingOptions | boolean;

                                          property overlay

                                          overlay?: boolean;

                                            property storybook

                                            storybook?: boolean;

                                              Package Files (8)

                                              Dependencies (5)

                                              Dev Dependencies (36)

                                              Peer Dependencies (2)

                                              Badge

                                              To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                              You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/reactotron-react-native.

                                              • Markdown
                                                [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/reactotron-react-native)
                                              • HTML
                                                <a href="https://www.jsdocs.io/package/reactotron-react-native"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>