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 {
6868 render ( ) {
6969 return (
7070 < View style = { styles . container } >
71+ < Text style = { styles . title } > React Native Sortable List</ Text >
7172 < SortableList
7273 style = { styles . list }
7374 contentContainerStyle = { styles . contentContainer }
@@ -139,18 +140,19 @@ const styles = StyleSheet.create({
139140 flex : 1 ,
140141 justifyContent : 'center' ,
141142 alignItems : 'center' ,
143+ backgroundColor : '#eee' ,
142144
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' ,
154156 } ,
155157
156158 list : {
You can’t perform that action at this time.
0 commit comments