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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-crud-mobile",
3
- "version": "1.3.197",
3
+ "version": "1.3.199",
4
4
  "license": "MIT",
5
5
  "description": "Uma biblioteca de componentes para React Native",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from 'react';
2
- import { ChildType, ComponentUtils, ScopeUtils, Utils } from 'react-crud-utils';
3
- import { StyleSheet, Text, TouchableHighlight, View } from 'react-native';
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: 500,
95
- fontSize: 20,
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 key={keyData} style={getContainerStyle()}>
112
+ <View style={getContainerStyle()}>
112
113
  <Empty />
113
114
  {items.map((item: any, i: number) => (
114
115
  <UIListRow index={i} item={item} scope={scope}>