@momo-kits/foundation 0.81.43-beta.6 → 0.81.43-beta.7

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.
@@ -127,17 +127,19 @@ const NavigationButton: React.FC<NavigationButtonProps> = ({
127
127
  }, [badgeType, badgeValue]);
128
128
 
129
129
  return (
130
- <TouchableOpacity
131
- accessibilityLabel={`NavigationButton/${accessibilityLabel}`}
132
- style={[styles.navigationButton, buttonStyle]}
133
- onPress={onPress}>
134
- <Icon
135
- source={icon}
136
- color={tintColor ?? theme.colors.text.default}
137
- size={20}
138
- />
130
+ <>
131
+ <TouchableOpacity
132
+ accessibilityLabel={`NavigationButton/${accessibilityLabel}`}
133
+ style={[styles.navigationButton, buttonStyle]}
134
+ onPress={onPress}>
135
+ <Icon
136
+ source={icon}
137
+ color={tintColor ?? theme.colors.text.default}
138
+ size={20}
139
+ />
140
+ </TouchableOpacity>
139
141
  {renderBadge()}
140
- </TouchableOpacity>
142
+ </>
141
143
  );
142
144
  };
143
145
 
package/Badge/styles.ts CHANGED
@@ -9,6 +9,7 @@ export default StyleSheet.create({
9
9
  justifyContent: 'center',
10
10
  alignItems: 'center',
11
11
  height: scaleSize(16),
12
+ minWidth: scaleSize(16),
12
13
  flexDirection: 'row',
13
14
  borderWidth: 1,
14
15
  borderColor: Colors.black_01,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.81.43-beta.6",
3
+ "version": "0.81.43-beta.7",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {