diff --git a/index.android.js b/index.android.js index ba82c74..3aca135 100644 --- a/index.android.js +++ b/index.android.js @@ -9,5 +9,5 @@ import { AppRegistry, } from 'react-native'; -import Game from './game.js'; +import Game from './src/containers/main.js'; AppRegistry.registerComponent('Game', () => Game); diff --git a/src/components/ButtonPlay.js b/src/components/ButtonPlay.js new file mode 100644 index 0000000..23ac611 --- /dev/null +++ b/src/components/ButtonPlay.js @@ -0,0 +1,37 @@ +import React from 'react'; +import { + StyleSheet, + Button, + View, +} from 'react-native'; +const ButtonPlay = ({ + playing, + onPress +}) => { + return ( + +