diff --git a/packages/react-navigation/src/navigators/TabNavigator.js b/packages/react-navigation/src/navigators/TabNavigator.js index 2a832c27..d3818388 100644 --- a/packages/react-navigation/src/navigators/TabNavigator.js +++ b/packages/react-navigation/src/navigators/TabNavigator.js @@ -36,7 +36,7 @@ const TabNavigator = ( tabBarOptions, swipeEnabled, animationEnabled, - lazyLoad, + lazy, ...tabsConfig } = mergedConfig; @@ -55,7 +55,7 @@ const TabNavigator = ( tabBarOptions={tabBarOptions} swipeEnabled={swipeEnabled} animationEnabled={animationEnabled} - lazyLoad={lazyLoad} + lazy={lazy} /> )); @@ -68,14 +68,14 @@ const Presets = { tabBarPosition: 'bottom', swipeEnabled: false, animationEnabled: false, - lazyLoad: false, + lazy: false, }, AndroidTopTabs: { tabBarComponent: TabBarTop, tabBarPosition: 'top', swipeEnabled: true, animationEnabled: true, - lazyLoad: false, + lazy: false, }, };