[change] remove 'core' module export

This commit is contained in:
Nicolas Gallagher
2017-08-31 12:06:48 -07:00
parent 130b10c3f7
commit c50d808a2b
2 changed files with 0 additions and 46 deletions
-1
View File
@@ -1 +0,0 @@
module.exports = require('./dist/core');
-45
View File
@@ -1,45 +0,0 @@
import findNodeHandle from './modules/findNodeHandle';
import { render, unmountComponentAtNode } from 'react-dom';
// APIs
import I18nManager from './apis/I18nManager';
import Platform from './apis/Platform';
import StyleSheet from './apis/StyleSheet';
// components
import Image from './components/Image';
import Text from './components/Text';
import TextInput from './components/TextInput';
import Touchable from './components/Touchable/Touchable';
import TouchableHighlight from './components/Touchable/TouchableHighlight';
import TouchableOpacity from './components/Touchable/TouchableOpacity';
import TouchableWithoutFeedback from './components/Touchable/TouchableWithoutFeedback';
import View from './components/View';
// modules
import createDOMElement from './modules/createDOMElement';
import modality from './modules/modality';
modality();
const ReactNativeCore = {
createDOMElement,
findNodeHandle,
render,
unmountComponentAtNode,
// APIs
I18nManager,
Platform,
StyleSheet,
// components
Image,
Text,
TextInput,
Touchable,
TouchableHighlight,
TouchableOpacity,
TouchableWithoutFeedback,
View
};
export default ReactNativeCore;