Rocket.Chat.ReactNative/index.js

17 lines
521 B
JavaScript
Raw Normal View History

2019-04-17 18:57:46 +00:00
import 'react-native-console-time-polyfill';
2019-03-12 16:23:06 +00:00
import { AppRegistry } from 'react-native';
import joypixels from 'emoji-toolkit';
2019-07-18 17:44:02 +00:00
import { name as appName, share as shareName } from './app.json';
2019-03-12 16:23:06 +00:00
joypixels.ascii = true;
if (__DEV__) {
require('./app/ReactotronConfig');
}
2019-07-18 17:44:02 +00:00
AppRegistry.registerComponent(appName, () => require('./app/index').default);
AppRegistry.registerComponent(shareName, () => require('./app/share').default);
2019-03-12 16:23:06 +00:00
// For storybook, comment everything above and uncomment below
// import './storybook';