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

Commit 8302fd3

Browse files
committed
Export context directly for hook consumption
1 parent 3e504f0 commit 8302fd3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ module.exports = {
1212
get createNavigator() {
1313
return require('./navigators/createNavigator').default;
1414
},
15+
get NavigationContext() {
16+
return require('./views/NavigationContext').default;
17+
},
1518
get NavigationProvider() {
1619
return require('./views/NavigationContext').default.NavigationProvider;
1720
},

0 commit comments

Comments
 (0)