/** * @flow */ import React from 'react'; import { Platform, ScrollView } from 'react-native'; import { createDrawerNavigator } from 'react-navigation'; import MaterialIcons from 'react-native-vector-icons/MaterialIcons'; import SimpleTabs from './SimpleTabs'; import StacksOverTabs from './StacksOverTabs'; const TabsInDrawer = createDrawerNavigator({ SimpleTabs: { screen: SimpleTabs, navigationOptions: { drawer: () => ({ label: 'Simple Tabs', icon: ({ tintColor }) => ( ), }), }, }, StacksOverTabs: { screen: StacksOverTabs, navigationOptions: { drawer: () => ({ label: 'Stacks Over Tabs', icon: ({ tintColor }) => ( ), }), }, }, }); export default TabsInDrawer;