Skip to content

Commit 6b11c68

Browse files
committed
chore: correct react-navigation path
1 parent 9d0d717 commit 6b11c68

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

example/.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "../.eslintrc",
33

44
"settings": {
5-
"import/core-modules": ["react-native-paper"]
5+
"import/core-modules": ["react-native-paper", "react-native-paper/react-navigation"]
66
},
77

88
"rules": {

example/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = function (api) {
1919
'package.json'
2020
),
2121
// For development, we want to alias the library to the source
22-
[pak.name]: path.join(__dirname, '..', pak.source),
22+
[pak.name]: path.join(__dirname, '..', 'src'),
2323
},
2424
},
2525
],

tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"paths": {
55
"react-native-paper": [
66
"./src/index"
7+
],
8+
"react-native-paper/react-navigation": [
9+
"./src/react-navigation"
710
]
811
},
912
"allowUnreachableCode": false,

0 commit comments

Comments
 (0)