File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ class Basic extends Component {
68
68
render ( ) {
69
69
return (
70
70
< View style = { styles . container } >
71
+ < Text style = { styles . title } > React Native Sortable List</ Text >
71
72
< SortableList
72
73
style = { styles . list }
73
74
contentContainerStyle = { styles . contentContainer }
@@ -139,18 +140,19 @@ const styles = StyleSheet.create({
139
140
flex : 1 ,
140
141
justifyContent : 'center' ,
141
142
alignItems : 'center' ,
143
+ backgroundColor : '#eee' ,
142
144
143
- // ...Platform.select({
144
- // ios: {
145
- backgroundColor : '#eee' ,
146
- paddingTop : 60 ,
147
- // } ,
148
-
149
- // android: {
150
- // backgroundColor: '#fff',
151
- // paddingTop: 0 ,
152
- // } ,
153
- // }) ,
145
+ ...Platform . select ( {
146
+ ios : {
147
+ paddingTop : 20 ,
148
+ } ,
149
+ } ) ,
150
+ } ,
151
+
152
+ title : {
153
+ fontSize : 20 ,
154
+ paddingVertical : 20 ,
155
+ color : '#999999' ,
154
156
} ,
155
157
156
158
list : {
You can’t perform that action at this time.
0 commit comments