From 9e8e558f2450aef0daddd83579691209242ce119 Mon Sep 17 00:00:00 2001 From: Erivaldo Dantas Date: Wed, 4 Sep 2019 22:58:30 -0300 Subject: [PATCH] Resolve exports not found Resolve exportation of components. --- src/index.js | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/index.js b/src/index.js index e21fac9..c805af0 100644 --- a/src/index.js +++ b/src/index.js @@ -1,11 +1,4 @@ -import createTabNavigator from './createTabNavigator'; -import TabView from './views/TabView'; -import TabBarBottom from './views/TabBarBottom'; -import TabBarTop from './views/TabBarTop'; - -module.exports = { - createTabNavigator, - TabView, - TabBarBottom, - TabBarTop, -}; +export { default as createTabNavigator } from './createTabNavigator'; +export { default as TabView } from './views/TabView'; +import { default as TabBarBottom } from './views/TabBarBottom'; +import { default as TabBarTop } from './views/TabBarTop';