File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
demo/src/screens/componentScreens Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,11 @@ class ExpandableSectionScreen extends PureComponent {
62
62
63
63
getHeaderElement ( ) {
64
64
return (
65
- < View >
66
- < Text margin-10 dark10 text60 >
65
+ < View margin-10 spread row >
66
+ < Text dark10 text60 >
67
67
ExpandableSection's sectionHeader
68
68
</ Text >
69
- < View style = { styles . header } >
70
- < Image style = { styles . icon } source = { this . getChevron ( ) } />
71
- </ View >
69
+ < Image style = { styles . icon } source = { this . getChevron ( ) } />
72
70
</ View >
73
71
) ;
74
72
}
@@ -124,12 +122,7 @@ class ExpandableSectionScreen extends PureComponent {
124
122
export default ExpandableSectionScreen ;
125
123
126
124
const styles = StyleSheet . create ( {
127
- header : {
128
- marginLeft : 380 ,
129
- marginTop : 20 ,
130
- position : 'absolute'
131
- } ,
132
125
icon : {
133
- backgroundColor : 'transparent '
126
+ alignSelf : 'center '
134
127
}
135
128
} ) ;
You can’t perform that action at this time.
0 commit comments