react-crud-mobile 1.0.809 → 1.0.810

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.0.809",
2
+ "version": "1.0.810",
3
3
  "license": "MIT",
4
4
  "description": "Uma biblioteca de componentes para React Native",
5
5
  "main": "dist/index.js",
@@ -2,8 +2,8 @@ import { Ionicons } from '@expo/vector-icons';
2
2
  import { ChildType, Utils } from 'react-crud-utils';
3
3
  import { Text, TouchableHighlight, View } from 'react-native';
4
4
 
5
- const buttonsSize: any = { small: { minWidth: 30, height: 30 } };
6
- const iconsSize: any = { small: { fontSize: 20 } };
5
+ const BUTTONS_SIZE: any = { small: { minWidth: 30, height: 30 } };
6
+ const ICONS_SIZE: any = { small: { fontSize: 20 } };
7
7
 
8
8
  export default function UIButton(props: ChildType) {
9
9
  let scope = props.scope;
@@ -77,7 +77,7 @@ export default function UIButton(props: ChildType) {
77
77
  }
78
78
 
79
79
  if (size) {
80
- css = { ...css, ...buttonsSize[size] };
80
+ css = { ...css, ...BUTTONS_SIZE[size] };
81
81
  }
82
82
  return css;
83
83
  });
@@ -91,7 +91,7 @@ export default function UIButton(props: ChildType) {
91
91
  }
92
92
 
93
93
  if (size) {
94
- css = { ...css, ...iconStyle[size] };
94
+ css = { ...css, ...ICONS_SIZE[size] };
95
95
  }
96
96
  return css;
97
97
  });