-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.ios.js
38 lines (33 loc) · 877 Bytes
/
index.ios.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import Stagger from './js/components/Stagger';
import Fuego from './js/components/Fuego';
import ShinyButton from './js/components/buttons/ShinyButton';
import AnimationList from './js/components/AnimationList'
import {
AppRegistry,
StyleSheet,
Text,
View,
NavigatorIOS
} from 'react-native';
class AnimationSandBox extends Component {
render() {
return (
<NavigatorIOS
style={styles.container}
initialRoute={{title: 'Animations', component: AnimationList}}/>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: 'white'
}
});
AppRegistry.registerComponent('AnimationSandBox', () => AnimationSandBox);