@momo-kits/foundation 0.155.1-beta.5 → 0.155.1-beta.5-sp.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.
@@ -106,6 +106,7 @@ const PopupPromotion: React.FC<PopupPromotionProps> = ({
106
106
  source={{
107
107
  uri: image,
108
108
  }}
109
+ resizeMode="contain"
109
110
  style={[
110
111
  styles.container,
111
112
  {
@@ -121,7 +122,7 @@ const PopupPromotion: React.FC<PopupPromotionProps> = ({
121
122
 
122
123
  const styles = StyleSheet.create({
123
124
  container: {
124
- aspectRatio: 0.72,
125
+ aspectRatio: 0.5625, // 9:16
125
126
  width: '100%',
126
127
  },
127
128
  debugBaseLine: { borderWidth: 1, borderColor: Colors.green_06 },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.155.1-beta.5",
3
+ "version": "0.155.1-beta.5-sp.2",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},