How to use the @heap/react-native-heap.withReactNavigationAutotrack function in @heap/react-native-heap

To help you get started, we’ve selected a few @heap/react-native-heap 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 heap / react-native-heap / examples / TestDriver / src / topNavigator.js View on Github external
},
  },
  Nav: {
    screen: NavPage,
    navigationOptions: () => {
      return {
        title: 'Nav',
        tabBarLabel: 'Nav',
        tabBarAccessibilityLabel: 'Nav',
        tabBarTestID: 'Nav',
      };
    },
  },
});

export default Heap.withReactNavigationAutotrack(
  createAppContainer(TabNavigator)
);