react-crud-mobile 1.3.24 → 1.3.26

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,5 +1,5 @@
1
1
  {
2
- "version": "1.3.24",
2
+ "version": "1.3.26",
3
3
  "license": "MIT",
4
4
  "description": "Uma biblioteca de componentes para React Native",
5
5
  "main": "dist/index.js",
@@ -31,7 +31,7 @@ export default function UISelect(props: ChildType) {
31
31
  };
32
32
  const iconColor = Utils.nvl(theme.colors?.text, '#100e0e');
33
33
  const modalColor = Utils.nvl(headerStyle.color, 'white');
34
-
34
+ const defaults = { color: modalColor };
35
35
  const onClick = ({ crud, value }: MethodType) => {
36
36
  let val = value as any;
37
37
 
@@ -88,10 +88,10 @@ export default function UISelect(props: ChildType) {
88
88
  style={style('modalCloseButton')}
89
89
  >
90
90
  <Ionicons
91
- name="chevron-back-outline"
91
+ name="close"
92
92
  size={24}
93
93
  color={modalColor}
94
- style={style('modalCloseText', {})}
94
+ style={style('modalCloseText', defaults)}
95
95
  />
96
96
  </TouchableOpacity>
97
97
  <Text style={style('modalTitle')}>{placeholder}</Text>
@@ -100,6 +100,7 @@ export default function UISelect(props: ChildType) {
100
100
  <UI.List
101
101
  data={items}
102
102
  name={scope.getName('list')}
103
+ layout="card"
103
104
  click={onClick}
104
105
  rowStyle={scope.original?.rowStyle}
105
106
  >