react-crud-mobile 1.3.197 → 1.3.199
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/dist/react-crud-mobile.cjs.development.js +4 -3
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +4 -3
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIList.tsx +6 -5
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import React, { useState } from 'react';
|
2
|
-
import { ChildType, ComponentUtils,
|
3
|
-
import { StyleSheet, Text,
|
2
|
+
import { ChildType, ComponentUtils, Utils } from 'react-crud-utils';
|
3
|
+
import { StyleSheet, Text, View } from 'react-native';
|
4
4
|
import UIListRow from './UIListRow';
|
5
5
|
import UI from '../UI';
|
6
6
|
import { Ionicons } from '@expo/vector-icons';
|
@@ -91,10 +91,11 @@ export default function UIList(props: ChildType) {
|
|
91
91
|
<Text
|
92
92
|
style={scope.getStyle('empty', {
|
93
93
|
flex: 1,
|
94
|
-
fontWeight:
|
95
|
-
fontSize:
|
94
|
+
fontWeight: 400,
|
95
|
+
fontSize: 18,
|
96
96
|
padding: 10,
|
97
97
|
textAlign: 'center',
|
98
|
+
width: '100%',
|
98
99
|
justifyContent: 'center',
|
99
100
|
alignItems: 'center',
|
100
101
|
})}
|
@@ -108,7 +109,7 @@ export default function UIList(props: ChildType) {
|
|
108
109
|
};
|
109
110
|
|
110
111
|
return (
|
111
|
-
<View
|
112
|
+
<View style={getContainerStyle()}>
|
112
113
|
<Empty />
|
113
114
|
{items.map((item: any, i: number) => (
|
114
115
|
<UIListRow index={i} item={item} scope={scope}>
|