@momo-kits/foundation 0.163.1-beta.5 → 0.163.1-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -97,10 +97,7 @@ const getModalOptions = (): StackNavigationOptions => {
97
97
  * so swipe back must not bypass it
98
98
  */
99
99
  const hasCustomBackHandling = (params: NavigationOptions) =>
100
- params.preventBack !== undefined ||
101
- params.hiddenBack === true ||
102
- typeof params.onBackHandler === 'function' ||
103
- typeof params.onPressLeftHeader === 'function';
100
+ params.preventBack !== undefined || params.hiddenBack === true;
104
101
 
105
102
  /**
106
103
  * build react-navigation options
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.163.1-beta.5",
3
+ "version": "0.163.1-beta.7",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},