File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ class DatePicker extends Component {
67
67
{
68
68
toValue : height ,
69
69
duration : duration ,
70
- useNativeDriver : true ,
70
+ useNativeDriver : true
71
71
}
72
72
) . start ( ) ;
73
73
} else {
@@ -76,7 +76,7 @@ class DatePicker extends Component {
76
76
{
77
77
toValue : 0 ,
78
78
duration : duration ,
79
- useNativeDriver : true ,
79
+ useNativeDriver : true
80
80
}
81
81
) . start ( ( ) => {
82
82
this . setState ( { modalVisible : visible } ) ;
@@ -184,14 +184,14 @@ class DatePicker extends Component {
184
184
) ;
185
185
}
186
186
return (
187
- < >
188
- < Text allowFontScaling = { allowFontScaling } style = { [ customStyles . placeholderText , Style . placeholderDensedText ] } >
189
- { placeholder }
190
- </ Text >
191
- < Text allowFontScaling = { allowFontScaling } style = { [ Style . dateText , customStyles . dateText ] } >
192
- { this . getDateStr ( ) }
193
- </ Text >
194
- </ >
187
+ < React . Fragment >
188
+ < Text allowFontScaling = { allowFontScaling } style = { [ customStyles . placeholderText , Style . placeholderDensedText ] } >
189
+ { placeholder }
190
+ </ Text >
191
+ < Text allowFontScaling = { allowFontScaling } style = { [ Style . dateText , customStyles . dateText ] } >
192
+ { this . getDateStr ( ) }
193
+ </ Text >
194
+ </ React . Fragment >
195
195
) ;
196
196
}
197
197
Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ let style = StyleSheet.create({
33
33
placeholderDensedText : {
34
34
position : 'absolute' ,
35
35
transform : [
36
- { translateY : - 23 } ,
36
+ { translateY : - 23 }
37
37
] ,
38
- fontSize : 12 ,
38
+ fontSize : 12
39
39
} ,
40
40
datePickerMask : {
41
41
flex : 1 ,
You can’t perform that action at this time.
0 commit comments