@aks-dev/easyui 1.0.16 → 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.
- package/lib/Hud/index.ts +3 -3
- package/lib/RefreshList/RefreshList.tsx +5 -2
- package/package.json +1 -1
- package/src/index.ts +3 -2
package/lib/Hud/index.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @Author: shiguo
|
|
3
3
|
* @Date: 2022-04-24 14:14:42
|
|
4
4
|
* @LastEditors: shiguo
|
|
5
|
-
* @LastEditTime: 2022-
|
|
6
|
-
* @FilePath: /@aks/
|
|
5
|
+
* @LastEditTime: 2022-05-16 09:05:53
|
|
6
|
+
* @FilePath: /@aks/easyui/lib/Hud/index.ts
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
|
|
@@ -15,4 +15,4 @@ export * from './Loading'
|
|
|
15
15
|
export * from './Toast'
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
export declare const
|
|
18
|
+
export declare const Hud: React.FC<{}>
|
|
@@ -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={{
|
|
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
package/src/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @Author: shiguo
|
|
4
4
|
* @Date: 2022-04-13 12:47:34
|
|
5
5
|
* @LastEditors: shiguo
|
|
6
|
-
* @LastEditTime: 2022-05-16
|
|
6
|
+
* @LastEditTime: 2022-05-16 15:19:39
|
|
7
7
|
* @FilePath: /@aks/easyui/src/index.ts
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -25,7 +25,8 @@ export { default as MutiPictureView } from '../lib/MutiPictureView/MutiPictureVi
|
|
|
25
25
|
export { PictureViewer } from '../lib/PictureViewer/PictureViewer'
|
|
26
26
|
|
|
27
27
|
export { default as RefreshList } from '../lib/RefreshList/RefreshList'
|
|
28
|
-
export
|
|
28
|
+
export { RefreshListProps,RefreshState } from '../lib/RefreshList'
|
|
29
|
+
|
|
29
30
|
|
|
30
31
|
export { default as TableCell } from '../lib/TableCell/TableCell'
|
|
31
32
|
export type { TableCellProps } from '../lib/TableCell'
|