-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
19 lines (18 loc) · 944 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import React from 'react';
import { AppRegistry } from 'react-360';
import Screen from './components/Screen';
import LoadingScreen from './components/LoadingScreen';
import Pokemon from './components/Pokemon';
import PokeBall from './components/PokeBall';
import World from './components/World';
AppRegistry.registerComponent('LoadingScreen', () => LoadingScreen);
AppRegistry.registerComponent('Screen', () => Screen);
AppRegistry.registerComponent('PokeBall1', () => PokeBall);
AppRegistry.registerComponent('PokeBall2', () => PokeBall);
AppRegistry.registerComponent('PokeBall3', () => PokeBall);
AppRegistry.registerComponent('PokeBall4', () => PokeBall);
AppRegistry.registerComponent('Pikachu', () => Pokemon);
AppRegistry.registerComponent('Cubone', () => Pokemon);
AppRegistry.registerComponent('Charmander', () => Pokemon);
AppRegistry.registerComponent('Haunter', () => Pokemon);
AppRegistry.registerComponent('World', () => World);