Skip to content

Commit ff960dd

Browse files
committed
Added ios support
1 parent 258dfc5 commit ff960dd

1 file changed

Lines changed: 3 additions & 49 deletions

File tree

index.ios.js

Lines changed: 3 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,7 @@
1-
/**
2-
* Sample React Native App
3-
* https://github.com/facebook/react-native
4-
*/
51
'use strict';
6-
72
var React = require('react-native');
8-
var {
9-
AppRegistry,
10-
StyleSheet,
11-
Text,
12-
View,
13-
} = React;
14-
15-
var reactnativeAlphabeticalListView = React.createClass({
16-
render: function() {
17-
return (
18-
<View style={styles.container}>
19-
<Text style={styles.welcome}>
20-
Welcome to React Native!
21-
</Text>
22-
<Text style={styles.instructions}>
23-
To get started, edit index.ios.js
24-
</Text>
25-
<Text style={styles.instructions}>
26-
Press Cmd+R to reload,{'\n'}
27-
Cmd+D or shake for dev menu
28-
</Text>
29-
</View>
30-
);
31-
}
32-
});
3+
var {AppRegistry} = React;
334

34-
var styles = StyleSheet.create({
35-
container: {
36-
flex: 1,
37-
justifyContent: 'center',
38-
alignItems: 'center',
39-
backgroundColor: '#F5FCFF',
40-
},
41-
welcome: {
42-
fontSize: 20,
43-
textAlign: 'center',
44-
margin: 10,
45-
},
46-
instructions: {
47-
textAlign: 'center',
48-
color: '#333333',
49-
marginBottom: 5,
50-
},
51-
});
5+
var reactnativeAlphabeticalListView = require('./components/SelectableSectionsListView');
526

53-
AppRegistry.registerComponent('reactnativeAlphabeticalListView', () => reactnativeAlphabeticalListView);
7+
AppRegistry.registerComponent('reactnativeAlphabeticalListView', () => reactnativeAlphabeticalListView);

0 commit comments

Comments
 (0)