@momo-kits/foundation 0.92.8-rc.4 → 0.92.8-rc.5
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.
- package/Layout/Card.tsx +1 -0
- package/Layout/Screen.tsx +4 -2
- package/Layout/Section.tsx +1 -0
- package/Loader/index.tsx +2 -0
- package/package.json +1 -1
package/Layout/Card.tsx
CHANGED
package/Layout/Screen.tsx
CHANGED
|
@@ -296,7 +296,8 @@ const Screen = forwardRef(
|
|
|
296
296
|
style={{
|
|
297
297
|
marginTop: space,
|
|
298
298
|
flex: item.props?.expanded ? 1 : undefined,
|
|
299
|
-
}}
|
|
299
|
+
}}
|
|
300
|
+
onLayout={item.props?.onLayout}>
|
|
300
301
|
{item}
|
|
301
302
|
</View>
|
|
302
303
|
);
|
|
@@ -314,7 +315,8 @@ const Screen = forwardRef(
|
|
|
314
315
|
style={{
|
|
315
316
|
marginTop: space,
|
|
316
317
|
flex: item?.props?.expanded ? 1 : undefined,
|
|
317
|
-
}}
|
|
318
|
+
}}
|
|
319
|
+
onLayout={item?.props?.onLayout}>
|
|
318
320
|
{children}
|
|
319
321
|
</View>
|
|
320
322
|
);
|
package/Layout/Section.tsx
CHANGED
package/Loader/index.tsx
CHANGED