diff --git a/types/react-router-navigation-core/react-router-navigation-core-tests.tsx b/types/react-router-navigation-core/react-router-navigation-core-tests.tsx index 6d6d048886..08b63cd700 100644 --- a/types/react-router-navigation-core/react-router-navigation-core-tests.tsx +++ b/types/react-router-navigation-core/react-router-navigation-core-tests.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; -import { View } from "react-native"; -import { TabStack, renderSubView } from "react-router-navigation-core"; -import { TabBarProps, TabProps } from "react-router-navigation"; -import { TabViewAnimated } from "react-native-tab-view"; +import * as React from 'react'; +import { View } from 'react-native'; +import { TabStack, renderSubView } from 'react-router-navigation-core'; +import { TabBarProps, TabProps } from 'react-router-navigation'; +import { TabView } from 'react-native-tab-view'; type Props = TabBarProps & { children?: Array>; @@ -24,7 +24,7 @@ class BottomNavigation extends React.Component { render={props => { const ownProps = { ...this.props, ...props }; return ( - { sceneProps => , ownProps )} - renderFooter={renderSubView( + renderTabBar={renderSubView( sceneProps => , ownProps )} + tabBarPosition="bottom" renderScene={renderSubView( sceneProps => , ownProps