mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
Add back support for lazy tabs and use removeClippedSubviews (#3538)
* Lazy initialization of tabs and move contents off-screen when not active * Make subview clipping and lazy both configurable * Record snapshots again * Update type definition * Remove unused log
This commit is contained in:
2
flow/react-navigation.js
vendored
2
flow/react-navigation.js
vendored
@@ -833,6 +833,8 @@ declare module 'react-navigation' {
|
||||
declare type _TabNavigatorConfig = {|
|
||||
...NavigationTabRouterConfig,
|
||||
..._TabViewConfig,
|
||||
lazy?: boolean,
|
||||
removeClippedSubviews?: boolean,
|
||||
containerOptions?: void,
|
||||
|};
|
||||
declare export function TabNavigator(
|
||||
|
||||
Reference in New Issue
Block a user