diff --git a/index.js b/index.js index 4d2b94b..00f85c0 100644 --- a/index.js +++ b/index.js @@ -5,5 +5,5 @@ import App from './App'; import {name as appName} from './app.json'; import Storybook from './storybook'; -const Component = App; +const Component = __DEV__ ? Storybook : App; AppRegistry.registerComponent(appName, () => Component);