Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Commit a9fd46d

Browse files
committed
fix: sync latest stack
1 parent 06918b6 commit a9fd46d

File tree

6 files changed

+110
-97
lines changed

6 files changed

+110
-97
lines changed

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"react-native-unimodules": "^0.7.0-rc.1",
2727
"react-native-web": "^0.11.4",
2828
"react-native-webview": "7.4.3",
29-
"react-navigation": "^4.0.10",
29+
"react-navigation": "^4.1.1",
3030
"react-navigation-drawer": "^2.2.2",
3131
"react-navigation-tabs": "^2.5.5"
3232
},

example/yarn.lock

Lines changed: 35 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1820,24 +1820,23 @@
18201820
resolved "https://registry.yarnpkg.com/@react-native-community/masked-view/-/masked-view-0.1.5.tgz#25421be6cd943a4b1660b62cfbcd45be8891462c"
18211821
integrity sha512-Lj1DzfCmW0f4HnmHtEuX8Yy2f7cnUA8r5KGGUuDDGtQt1so6QJkKeUmsnLo2zYDtsF8due6hvIL06Vdo5xxuLQ==
18221822

1823-
"@react-navigation/core@^3.5.1":
1824-
version "3.5.1"
1825-
resolved "https://registry.yarnpkg.com/@react-navigation/core/-/core-3.5.1.tgz#7a2339fca3496979305fb3a8ab88c2ca8d8c214d"
1826-
integrity sha512-q7NyhWVYOhVIWqL2GZKa6G78YarXaVTTtOlSDkvy4ZIggo40wZzamlnrJRvsaQX46gsgw45FAWb5SriHh8o7eA==
1823+
"@react-navigation/core@^3.5.2":
1824+
version "3.5.2"
1825+
resolved "https://registry.yarnpkg.com/@react-navigation/core/-/core-3.5.2.tgz#3a3d147b8419e5839e0f2ad4dea086bd2d307fe3"
1826+
integrity sha512-HgKXci1h74aETgm5CXMBoIWG8R7VZG1eUUHYb3BdxwekdiZjW1P/srjiXzsCqFGlsESnVIOIkzT4DqI9J752Bw==
18271827
dependencies:
18281828
hoist-non-react-statics "^3.3.0"
18291829
path-to-regexp "^1.7.0"
18301830
query-string "^6.4.2"
18311831
react-is "^16.8.6"
18321832

1833-
"@react-navigation/native@^3.6.2":
1834-
version "3.6.2"
1835-
resolved "https://registry.yarnpkg.com/@react-navigation/native/-/native-3.6.2.tgz#3634697b6350cc5189657ae4551f2d52b57fbbf0"
1836-
integrity sha512-Cybeou6N82ZeRmgnGlu+wzlV3z5BZQR2dmYaNFV1TNLUGHqtvv8E7oNw9uYcz9Ox5LFbiX+FdNTn2d6ZPlK0kg==
1833+
"@react-navigation/native@^3.6.5":
1834+
version "3.6.5"
1835+
resolved "https://registry.yarnpkg.com/@react-navigation/native/-/native-3.6.5.tgz#97b0b9a48f059a0704e3527f40fb034720ef363d"
1836+
integrity sha512-ttEmnokFVf09CvrkzlPIdfA693KfYcRxTYf9OZwp0Ll6El27UYjJD4arwGc+zvlohjTErCdba6CAKV702Wv28w==
18371837
dependencies:
1838-
hoist-non-react-statics "^3.0.1"
1839-
react-native-safe-area-view "^0.14.1"
1840-
react-native-screens "^1.0.0 || ^1.0.0-alpha"
1838+
hoist-non-react-statics "^3.3.2"
1839+
react-native-safe-area-view "^0.14.8"
18411840

18421841
"@segment/loosely-validate-event@^2.0.0":
18431842
version "2.0.0"
@@ -6122,9 +6121,9 @@ gzip-size@5.1.1, gzip-size@^5.0.0:
61226121
duplexer "^0.1.1"
61236122
pify "^4.0.1"
61246123

6125-
"hammerjs@git+https://github.com/naver/hammer.js.git":
6124+
"hammerjs@https://github.com/naver/hammer.js.git":
61266125
version "2.0.17-snapshot"
6127-
resolved "git+https://github.com/naver/hammer.js.git#54bc698b25edd6e1b76ca975ebaced5ce0467d51"
6126+
resolved "https://github.com/naver/hammer.js.git#54bc698b25edd6e1b76ca975ebaced5ce0467d51"
61286127
dependencies:
61296128
"@types/hammerjs" "^2.0.36"
61306129

@@ -6273,13 +6272,20 @@ hoist-non-react-statics@^2.3.1, hoist-non-react-statics@^2.5.0:
62736272
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz#c5903cf409c0dfd908f388e619d86b9c1174cb47"
62746273
integrity sha512-rqcy4pJo55FTTLWt+bU8ukscqHeE/e9KWvsOW2b/a3afxQZhwkQdT1rPPCJ0rYXdj4vNcasY8zHTH+jF/qStxw==
62756274

6276-
hoist-non-react-statics@^3.0.1, hoist-non-react-statics@^3.1.0, hoist-non-react-statics@^3.3.0:
6275+
hoist-non-react-statics@^3.1.0, hoist-non-react-statics@^3.3.0:
62776276
version "3.3.0"
62786277
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.0.tgz#b09178f0122184fb95acf525daaecb4d8f45958b"
62796278
integrity sha512-0XsbTXxgiaCDYDIWFcwkmerZPSwywfUqYmwT4jzewKTQSWoE6FCMoUVOeBJWK3E/CrWbxRG3m5GzY4lnIwGRBA==
62806279
dependencies:
62816280
react-is "^16.7.0"
62826281

6282+
hoist-non-react-statics@^3.3.2:
6283+
version "3.3.2"
6284+
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
6285+
integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==
6286+
dependencies:
6287+
react-is "^16.7.0"
6288+
62836289
hoopy@^0.1.4:
62846290
version "0.1.4"
62856291
resolved "https://registry.yarnpkg.com/hoopy/-/hoopy-0.1.4.tgz#609207d661100033a9a9402ad3dea677381c1b1d"
@@ -10021,14 +10027,21 @@ react-native-safe-area-view@^0.12.0:
1002110027
dependencies:
1002210028
hoist-non-react-statics "^2.3.1"
1002310029

10024-
react-native-safe-area-view@^0.14.1, react-native-safe-area-view@^0.14.6:
10030+
react-native-safe-area-view@^0.14.6:
1002510031
version "0.14.6"
1002610032
resolved "https://registry.yarnpkg.com/react-native-safe-area-view/-/react-native-safe-area-view-0.14.6.tgz#9a9d37d9f8f3887d60c4076eae7b5d2319539446"
1002710033
integrity sha512-dbzuvaeHFV1VBpyMaC0gtJ2BqFt6ls/405A0t78YN1sXiTrVr3ki86Ysct8mzifWqLdvWzcWagE5wfMtdxnqoA==
1002810034
dependencies:
1002910035
hoist-non-react-statics "^2.3.1"
1003010036

10031-
react-native-screens@1.0.0-alpha.23, "react-native-screens@^1.0.0 || ^1.0.0-alpha":
10037+
react-native-safe-area-view@^0.14.8:
10038+
version "0.14.8"
10039+
resolved "https://registry.yarnpkg.com/react-native-safe-area-view/-/react-native-safe-area-view-0.14.8.tgz#ef33c46ff8164ae77acad48c3039ec9c34873e5b"
10040+
integrity sha512-MtRSIcZNstxv87Jet+UsPhEd1tpGe8cVskDXlP657x6rHpSrbrc+y13ZNXrwAgGNNhqQNX7UJT68ZIq//ZRmvw==
10041+
dependencies:
10042+
hoist-non-react-statics "^2.3.1"
10043+
10044+
react-native-screens@1.0.0-alpha.23:
1003210045
version "1.0.0-alpha.23"
1003310046
resolved "https://registry.yarnpkg.com/react-native-screens/-/react-native-screens-1.0.0-alpha.23.tgz#25d7ea4d11bda4fcde2d1da7ae50271c6aa636e0"
1003410047
integrity sha512-tOxHGQUN83MTmQB4ghoQkibqOdGiX4JQEmeyEv96MKWO/x8T2PJv84ECUos9hD3blPRQwVwSpAid1PPPhrVEaw==
@@ -10143,13 +10156,13 @@ react-navigation-tabs@^2.5.5:
1014310156
react-native-safe-area-view "^0.14.6"
1014410157
react-native-tab-view "^2.9.0"
1014510158

10146-
react-navigation@^4.0.10:
10147-
version "4.0.10"
10148-
resolved "https://registry.yarnpkg.com/react-navigation/-/react-navigation-4.0.10.tgz#ddf41134600689d6ba99e35dd22ba1f664f91e5c"
10149-
integrity sha512-7PqvmsdQ7HIyxPUMYbd9Uq//VoMdniEOLAOSvIhb/ExtbAt/1INSjUF+RiMWOMCWLTCNvNPRvTz7xy7qwWureg==
10159+
react-navigation@^4.1.1:
10160+
version "4.1.1"
10161+
resolved "https://registry.yarnpkg.com/react-navigation/-/react-navigation-4.1.1.tgz#670a1712e945e454fe9cafa424e685c2f1f30832"
10162+
integrity sha512-HEzPOsndrKnxTf0+gsi1N/0GKbwu8KSTOveL7ptJLG7XNXHBXVvp4lbaS3PVPe2IaiXbXCC+y3VJ8dH50wHR4g==
1015010163
dependencies:
10151-
"@react-navigation/core" "^3.5.1"
10152-
"@react-navigation/native" "^3.6.2"
10164+
"@react-navigation/core" "^3.5.2"
10165+
"@react-navigation/native" "^3.6.5"
1015310166

1015410167
react-refresh@^0.4.0:
1015510168
version "0.4.2"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@expo/vector-icons": "^10.0.6",
5151
"@react-native-community/bob": "^0.7.0",
5252
"@react-native-community/masked-view": "^0.1.5",
53-
"@react-navigation/stack": "^5.0.0-alpha.66",
53+
"@react-navigation/stack": "^5.0.0-alpha.71",
5454
"@release-it/conventional-changelog": "^1.1.0",
5555
"@types/color": "^3.0.1",
5656
"@types/jest": "^24.0.25",
@@ -70,7 +70,7 @@
7070
"react-native-gesture-handler": "^1.5.5",
7171
"react-native-safe-area-context": "^0.6.2",
7272
"react-native-screens": "^2.0.0-alpha.22",
73-
"react-navigation": "^4.0.10",
73+
"react-navigation": "^4.1.1",
7474
"react-test-renderer": "~16.9.0",
7575
"release-it": "^12.4.3",
7676
"scheduler": "^0.18.0",

scripts/stack.patch

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
diff -Naur node_modules/@react-navigation/stack/src/index.tsx src/vendor/index.tsx
2-
--- node_modules/@react-navigation/stack/src/index.tsx 2020-02-03 00:46:19.000000000 +0100
3-
+++ src/vendor/index.tsx 2020-02-03 00:52:58.000000000 +0100
2+
--- node_modules/@react-navigation/stack/src/index.tsx 2020-02-05 09:47:09.000000000 +0100
3+
+++ src/vendor/index.tsx 2020-02-05 09:56:54.000000000 +0100
44
@@ -3,11 +3,6 @@
55
import * as TransitionSpecs from './TransitionConfigs/TransitionSpecs';
66
import * as TransitionPresets from './TransitionConfigs/TransitionPresets';
@@ -28,7 +28,7 @@ diff -Naur node_modules/@react-navigation/stack/src/index.tsx src/vendor/index.t
2828
StackHeaderTitleProps,
2929
StackCardInterpolatedStyle,
3030
diff -Naur node_modules/@react-navigation/stack/src/navigators/createStackNavigator.tsx src/vendor/navigators/createStackNavigator.tsx
31-
--- node_modules/@react-navigation/stack/src/navigators/createStackNavigator.tsx 2020-02-03 00:46:19.000000000 +0100
31+
--- node_modules/@react-navigation/stack/src/navigators/createStackNavigator.tsx 2020-02-05 09:47:09.000000000 +0100
3232
+++ src/vendor/navigators/createStackNavigator.tsx 1970-01-01 01:00:00.000000000 +0100
3333
@@ -1,81 +0,0 @@
3434
-import * as React from 'react';
@@ -113,8 +113,8 @@ diff -Naur node_modules/@react-navigation/stack/src/navigators/createStackNaviga
113113
- typeof StackNavigator
114114
->(StackNavigator);
115115
diff -Naur node_modules/@react-navigation/stack/src/types.tsx src/vendor/types.tsx
116-
--- node_modules/@react-navigation/stack/src/types.tsx 2020-02-03 00:46:19.000000000 +0100
117-
+++ src/vendor/types.tsx 2020-02-03 00:52:58.000000000 +0100
116+
--- node_modules/@react-navigation/stack/src/types.tsx 2020-02-05 09:47:09.000000000 +0100
117+
+++ src/vendor/types.tsx 2020-02-05 09:56:54.000000000 +0100
118118
@@ -7,13 +7,28 @@
119119
} from 'react-native';
120120
import { EdgeInsets } from 'react-native-safe-area-context';
@@ -259,8 +259,8 @@ diff -Naur node_modules/@react-navigation/stack/src/types.tsx src/vendor/types.t
259259

260260
export type StackNavigationConfig = {
261261
diff -Naur node_modules/@react-navigation/stack/src/views/Header/Header.tsx src/vendor/views/Header/Header.tsx
262-
--- node_modules/@react-navigation/stack/src/views/Header/Header.tsx 2020-02-03 00:46:19.000000000 +0100
263-
+++ src/vendor/views/Header/Header.tsx 2020-02-03 00:52:58.000000000 +0100
262+
--- node_modules/@react-navigation/stack/src/views/Header/Header.tsx 2020-02-05 09:47:09.000000000 +0100
263+
+++ src/vendor/views/Header/Header.tsx 2020-02-05 09:56:54.000000000 +0100
264264
@@ -1,11 +1,13 @@
265265
import * as React from 'react';
266266
-import { StackActions } from '@react-navigation/routers';
@@ -329,8 +329,8 @@ diff -Naur node_modules/@react-navigation/stack/src/views/Header/Header.tsx src/
329329
+
330330
+export default Header;
331331
diff -Naur node_modules/@react-navigation/stack/src/views/Header/HeaderBackButton.tsx src/vendor/views/Header/HeaderBackButton.tsx
332-
--- node_modules/@react-navigation/stack/src/views/Header/HeaderBackButton.tsx 2020-02-03 00:46:19.000000000 +0100
333-
+++ src/vendor/views/Header/HeaderBackButton.tsx 2020-02-03 00:52:58.000000000 +0100
332+
--- node_modules/@react-navigation/stack/src/views/Header/HeaderBackButton.tsx 2020-02-05 09:47:09.000000000 +0100
333+
+++ src/vendor/views/Header/HeaderBackButton.tsx 2020-02-05 09:56:54.000000000 +0100
334334
@@ -8,9 +8,9 @@
335335
StyleSheet,
336336
LayoutChangeEvent,
@@ -343,8 +343,8 @@ diff -Naur node_modules/@react-navigation/stack/src/views/Header/HeaderBackButto
343343

344344
type Props = StackHeaderLeftButtonProps;
345345
diff -Naur node_modules/@react-navigation/stack/src/views/Header/HeaderBackground.tsx src/vendor/views/Header/HeaderBackground.tsx
346-
--- node_modules/@react-navigation/stack/src/views/Header/HeaderBackground.tsx 2020-02-03 00:46:19.000000000 +0100
347-
+++ src/vendor/views/Header/HeaderBackground.tsx 2020-02-03 00:52:58.000000000 +0100
346+
--- node_modules/@react-navigation/stack/src/views/Header/HeaderBackground.tsx 2020-02-05 09:47:09.000000000 +0100
347+
+++ src/vendor/views/Header/HeaderBackground.tsx 2020-02-05 09:56:54.000000000 +0100
348348
@@ -1,6 +1,6 @@
349349
import * as React from 'react';
350350
import { Animated, StyleSheet, Platform, ViewProps } from 'react-native';
@@ -354,8 +354,8 @@ diff -Naur node_modules/@react-navigation/stack/src/views/Header/HeaderBackgroun
354354
type Props = ViewProps & {
355355
children?: React.ReactNode;
356356
diff -Naur node_modules/@react-navigation/stack/src/views/Header/HeaderContainer.tsx src/vendor/views/Header/HeaderContainer.tsx
357-
--- node_modules/@react-navigation/stack/src/views/Header/HeaderContainer.tsx 2020-02-03 00:46:19.000000000 +0100
358-
+++ src/vendor/views/Header/HeaderContainer.tsx 2020-02-03 00:53:51.000000000 +0100
357+
--- node_modules/@react-navigation/stack/src/views/Header/HeaderContainer.tsx 2020-02-05 09:47:09.000000000 +0100
358+
+++ src/vendor/views/Header/HeaderContainer.tsx 2020-02-05 09:56:54.000000000 +0100
359359
@@ -1,10 +1,6 @@
360360
import * as React from 'react';
361361
import { View, StyleSheet, StyleProp, ViewStyle } from 'react-native';
@@ -388,8 +388,8 @@ diff -Naur node_modules/@react-navigation/stack/src/views/Header/HeaderContainer
388388
mode === 'float'
389389
? isHeaderStatic
390390
diff -Naur node_modules/@react-navigation/stack/src/views/Header/HeaderSegment.tsx src/vendor/views/Header/HeaderSegment.tsx
391-
--- node_modules/@react-navigation/stack/src/views/Header/HeaderSegment.tsx 2020-02-03 00:46:19.000000000 +0100
392-
+++ src/vendor/views/Header/HeaderSegment.tsx 2020-02-03 00:52:58.000000000 +0100
391+
--- node_modules/@react-navigation/stack/src/views/Header/HeaderSegment.tsx 2020-02-05 09:47:09.000000000 +0100
392+
+++ src/vendor/views/Header/HeaderSegment.tsx 2020-02-05 09:56:54.000000000 +0100
393393
@@ -8,7 +8,7 @@
394394
ViewStyle,
395395
} from 'react-native';
@@ -409,8 +409,8 @@ diff -Naur node_modules/@react-navigation/stack/src/views/Header/HeaderSegment.t
409409
};
410410

411411
diff -Naur node_modules/@react-navigation/stack/src/views/Header/HeaderTitle.tsx src/vendor/views/Header/HeaderTitle.tsx
412-
--- node_modules/@react-navigation/stack/src/views/Header/HeaderTitle.tsx 2020-02-03 00:46:19.000000000 +0100
413-
+++ src/vendor/views/Header/HeaderTitle.tsx 2020-02-03 00:52:58.000000000 +0100
412+
--- node_modules/@react-navigation/stack/src/views/Header/HeaderTitle.tsx 2020-02-05 09:47:09.000000000 +0100
413+
+++ src/vendor/views/Header/HeaderTitle.tsx 2020-02-05 09:56:54.000000000 +0100
414414
@@ -1,6 +1,6 @@
415415
import * as React from 'react';
416416
import { Animated, StyleSheet, Platform, TextProps } from 'react-native';
@@ -420,8 +420,8 @@ diff -Naur node_modules/@react-navigation/stack/src/views/Header/HeaderTitle.tsx
420420
type Props = TextProps & {
421421
tintColor?: string;
422422
diff -Naur node_modules/@react-navigation/stack/src/views/Stack/Card.tsx src/vendor/views/Stack/Card.tsx
423-
--- node_modules/@react-navigation/stack/src/views/Stack/Card.tsx 2020-02-03 00:46:19.000000000 +0100
424-
+++ src/vendor/views/Stack/Card.tsx 2020-02-03 00:56:15.000000000 +0100
423+
--- node_modules/@react-navigation/stack/src/views/Stack/Card.tsx 2020-02-05 09:47:09.000000000 +0100
424+
+++ src/vendor/views/Stack/Card.tsx 2020-02-05 09:56:54.000000000 +0100
425425
@@ -133,7 +133,7 @@
426426

427427
private interactionHandle: number | undefined;
@@ -441,12 +441,11 @@ diff -Naur node_modules/@react-navigation/stack/src/views/Stack/Card.tsx src/ven
441441
<StackGestureRefContext.Provider value={this.gestureRef}>
442442
<CardAnimationContext.Provider value={animationContext}>
443443
diff -Naur node_modules/@react-navigation/stack/src/views/Stack/CardContainer.tsx src/vendor/views/Stack/CardContainer.tsx
444-
--- node_modules/@react-navigation/stack/src/views/Stack/CardContainer.tsx 2020-02-03 00:46:19.000000000 +0100
445-
+++ src/vendor/views/Stack/CardContainer.tsx 2020-02-03 00:54:36.000000000 +0100
446-
@@ -7,11 +7,17 @@
447-
ViewStyle,
448-
Platform,
449-
} from 'react-native';
444+
--- node_modules/@react-navigation/stack/src/views/Stack/CardContainer.tsx 2020-02-05 09:47:09.000000000 +0100
445+
+++ src/vendor/views/Stack/CardContainer.tsx 2020-02-05 09:57:48.000000000 +0100
446+
@@ -1,10 +1,16 @@
447+
import * as React from 'react';
448+
import { Animated, View, StyleSheet, StyleProp, ViewStyle } from 'react-native';
450449
-import { Route, useTheme } from '@react-navigation/native';
451450
import { Props as HeaderContainerProps } from '../Header/HeaderContainer';
452451
import Card from './Card';
@@ -463,7 +462,7 @@ diff -Naur node_modules/@react-navigation/stack/src/views/Stack/CardContainer.ts
463462

464463
type Props = TransitionPreset & {
465464
index: number;
466-
@@ -187,7 +193,7 @@
465+
@@ -180,7 +186,7 @@
467466
? { marginTop: headerHeight }
468467
: null
469468
}
@@ -473,8 +472,8 @@ diff -Naur node_modules/@react-navigation/stack/src/views/Stack/CardContainer.ts
473472
>
474473
<View style={styles.container}>
475474
diff -Naur node_modules/@react-navigation/stack/src/views/Stack/CardStack.tsx src/vendor/views/Stack/CardStack.tsx
476-
--- node_modules/@react-navigation/stack/src/views/Stack/CardStack.tsx 2020-02-03 00:46:19.000000000 +0100
477-
+++ src/vendor/views/Stack/CardStack.tsx 2020-02-03 00:52:58.000000000 +0100
475+
--- node_modules/@react-navigation/stack/src/views/Stack/CardStack.tsx 2020-02-05 09:47:09.000000000 +0100
476+
+++ src/vendor/views/Stack/CardStack.tsx 2020-02-05 09:56:54.000000000 +0100
478477
@@ -11,8 +11,7 @@
479478
import { EdgeInsets } from 'react-native-safe-area-context';
480479
// eslint-disable-next-line import/no-unresolved
@@ -503,8 +502,8 @@ diff -Naur node_modules/@react-navigation/stack/src/views/Stack/CardStack.tsx sr
503502
/>
504503
);
505504
diff -Naur node_modules/@react-navigation/stack/src/views/Stack/StackView.tsx src/vendor/views/Stack/StackView.tsx
506-
--- node_modules/@react-navigation/stack/src/views/Stack/StackView.tsx 2020-02-03 00:46:19.000000000 +0100
507-
+++ src/vendor/views/Stack/StackView.tsx 2020-02-03 00:55:11.000000000 +0100
505+
--- node_modules/@react-navigation/stack/src/views/Stack/StackView.tsx 2020-02-05 09:47:09.000000000 +0100
506+
+++ src/vendor/views/Stack/StackView.tsx 2020-02-05 09:56:54.000000000 +0100
508507
@@ -1,9 +1,11 @@
509508
import * as React from 'react';
510509
import { View, Platform, StyleSheet } from 'react-native';

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"baseUrl": ".",
44
"paths": {
5-
"react-navigation": ["react-navigation"],
5+
"react-navigation": ["./node_modules/react-navigation"],
66
"react-navigation-stack": ["./src/index"],
77
"react-native-gesture-handler": ["react-native-gesture-handler", "example/node_modules/react-native-gesture-handler/react-native-gesture-handler"],
88
"@react-native-community/masked-view": ["@react-native-community/masked-view"],

0 commit comments

Comments
 (0)