@momo-kits/foundation 0.110.1-beta.13 → 0.110.1-beta.14

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.
@@ -55,8 +55,8 @@ const HeaderBackground: React.FC<HeaderBackgroundProps> = ({
55
55
  style={{
56
56
  width: '100%',
57
57
  height: '100%',
58
- aspectRatio: 4,
59
58
  }}
59
+ resizeMode={'stretch'}
60
60
  source={{uri: theme?.assets?.headerBackgroundWhite}}
61
61
  loading={false}
62
62
  />
@@ -113,8 +113,8 @@ const HeaderExtendHeader: React.FC<{
113
113
  style={{
114
114
  width: '100%',
115
115
  height: '100%',
116
- aspectRatio: 4,
117
116
  }}
117
+ resizeMode={'stretch'}
118
118
  source={{uri: headerBackgroundWhite}}
119
119
  loading={false}
120
120
  />
@@ -194,8 +194,8 @@ const HeaderExtendHeader: React.FC<{
194
194
  style={{
195
195
  width: '100%',
196
196
  height: '100%',
197
- aspectRatio: 4,
198
197
  }}
198
+ resizeMode={'stretch'}
199
199
  source={{uri: headerBackgroundWhite}}
200
200
  loading={false}
201
201
  />
@@ -34,7 +34,8 @@ const NavigationContainer: React.FC<NavigationContainerProps> = ({
34
34
  const [showGrid, setShowGrid] = useState(false);
35
35
  const [configHeader, setConfigHeader] = useState({
36
36
  header: undefined,
37
- headerWhite: undefined,
37
+ headerWhite:
38
+ 'https://static.momocdn.net/app/img/kits/background/header/header_Tet_2024_white.png',
38
39
  });
39
40
  /**
40
41
  * inject data for navigator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.110.1-beta.13",
3
+ "version": "0.110.1-beta.14",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},