@aks-dev/easyui 1.0.18 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,6 @@ import {
16
16
 
17
17
 
18
18
 
19
-
20
19
  export default React.forwardRef((props: RefreshListProps, ref: React.Ref<any>) => {
21
20
  const {
22
21
  mode = 'FlatList',
@@ -173,7 +172,11 @@ const ListFooterComponent = React.memo((props: RefreshListProps) => {
173
172
  case RefreshState.EmptyData:
174
173
  if (props.renderListEmptyComponent) return props.renderListEmptyComponent()
175
174
  return (
176
- <View style={{ width: '100%', height: '100%' }}>
175
+ <View style={{
176
+ width: '100%', height: '100%',
177
+ display: 'flex',
178
+ justifyContent: 'center', alignItems: 'center'
179
+ }}>
177
180
  <TouchableOpacity onPress={() => {
178
181
  reload && reload()
179
182
  }}>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aks-dev/easyui",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "爱科森开发工具包",
5
5
  "main": "./src/index.ts",
6
6
  "typings": "./src/index.d.ts",