mg-library 1.0.561 → 1.0.562

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.
Files changed (2) hide show
  1. package/functions.js +5 -3
  2. package/package.json +1 -1
package/functions.js CHANGED
@@ -14,7 +14,7 @@ import * as mgConstants from './constants.js';
14
14
  // Navigator
15
15
 
16
16
  const logoutIcon = () => (
17
- <MaterialCommunityIcons name='logout' color='white' size={20} style={{ flex: 1 }} />
17
+ <MaterialCommunityIcons name='logout' color='white' style={{ flex: 1 }} />
18
18
  );
19
19
 
20
20
  /* export function navigatorHeader(insets, theme, onPressLogout, company) {
@@ -46,12 +46,14 @@ export function navigatorHeader(insets, theme, onPressLogout, company) {
46
46
  <MGText category='h5' style={{ color: 'white' }}>{companyDescription}</MGText>
47
47
  </View>
48
48
  <View style={{ flexGrow: 0.1, flexDirection: 'column' }}>
49
- <Button
49
+ <Button
50
50
  style={{ alignSelf: 'center' }}
51
51
  leftIcon={
52
- <Icon as={MaterialCommunityIcons} name="logout" size="md" color="white" />
52
+ <Icon as={MaterialCommunityIcons} name="logout" color="white" />
53
53
  }
54
54
  bg="transparent"
55
+ p={2}
56
+ minW="auto"
55
57
  onPress={onPressLogout}
56
58
  />
57
59
  </View>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.561",
3
+ "version": "1.0.562",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {