diff --git a/src/App.js b/src/App.js index f35e302..d47fc85 100644 --- a/src/App.js +++ b/src/App.js @@ -1,8 +1,7 @@ import React from 'react'; import {StyleSheet, View, Platform} from 'react-native'; import {StatusBarHeight} from './api/StatusBarHeight'; -import YooLogin from './component/YooLogin'; -import {YooBackground} from './ui/YooBackground'; +import {YooLogin, YooBackground} from './component/index'; const styles = StyleSheet.create({ container: { diff --git a/src/component/index.js b/src/component/index.js new file mode 100644 index 0000000..7de9978 --- /dev/null +++ b/src/component/index.js @@ -0,0 +1,4 @@ +import YooLogin from './YooLogin'; +import YooBackground from '../ui/YooBackground'; + +export {YooLogin, YooBackground};