@momo-kits/avatar 0.81.22 → 0.81.23-beta.2

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 (3) hide show
  1. package/index.tsx +2 -2
  2. package/package.json +2 -2
  3. package/styles.ts +0 -1
package/index.tsx CHANGED
@@ -84,7 +84,7 @@ const Avatar: FC<AvatarProps> = ({
84
84
  {shouldShowIconTop && (
85
85
  <Image
86
86
  source={{uri: logo}}
87
- style={[styles.icon, supportIconSize, {top: 0, right: 0}]}
87
+ style={[styles.icon, supportIconSize, {top: -1, right: -1}]}
88
88
  />
89
89
  )}
90
90
  {!!name && !image && (
@@ -109,7 +109,7 @@ const Avatar: FC<AvatarProps> = ({
109
109
  {shouldShowIconBottom && (
110
110
  <Image
111
111
  source={{uri: iconSupport}}
112
- style={[styles.icon, supportIconSize, {bottom: 0, right: 0}]}
112
+ style={[styles.icon, supportIconSize, {bottom: -1, right: -1}]}
113
113
  />
114
114
  )}
115
115
  </View>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/avatar",
3
- "version": "0.81.22",
3
+ "version": "0.81.23-beta.2",
4
4
  "private": false,
5
5
  "main": "index.tsx",
6
6
  "peerDependencies": {
@@ -14,4 +14,4 @@
14
14
  },
15
15
  "license": "MoMo",
16
16
  "dependencies": {}
17
- }
17
+ }
package/styles.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import {StyleSheet} from 'react-native';
2
- import {Colors, Radius} from '@momo-kits/foundation';
3
2
  export default StyleSheet.create({
4
3
  icon: {
5
4
  position: 'absolute',