How to use the reactotron-react-native.overlay function in reactotron-react-native

To help you get started, we’ve selected a few reactotron-react-native examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aerian-studios / ignite-typescript-boilerplate / boilerplate / App / Containers / App.tsx View on Github external
*
 * We separate like this to play nice with React Native's hot reloading.
 */
class App extends React.Component {
  public render() {
    return (
      
        
      
    );
  }
}

// allow reactotron overlay for fast design in dev mode
export default DebugConfig.useReactotron
? Reactotron.overlay(App)
: App;
github pillarwallet / pillarwallet / reactotron.config.js View on Github external
const {
      trackGlobalErrors,
      openInEditor,
      overlay,
      networking,
    } = require('reactotron-react-native');

    const { reactotronRedux } = require('reactotron-redux');

    Reactotron.configure({
      name: 'PillarWallet',
      enabled: true,
    })
      .use(trackGlobalErrors())
      .use(openInEditor())
      .use(overlay())
      .use(reactotronRedux())
      .use(networking())
      .connect();

    Reactotron.clear();

    global.Reactotron = Reactotron;
  }
};