decord/source/design/components/Sticky/native/StickyWrapper.native.tsx

45 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 10428
// Function ID: 10429
2026-07-20 16:05:17 +00:00
// Name: StickyWrapper
2026-07-29 08:29:29 +00:00
// Dependencies: [19, 17, 21, 501, 2]
2026-07-20 16:05:17 +00:00
// Exports: StickyWrapper
2026-07-29 08:29:29 +00:00
// Module 10428 (StickyWrapper)
import "noop";
2026-07-23 10:11:24 +00:00
import get_ActivityIndicator from "get ActivityIndicator";
import jsxProd from "jsxProd";
2026-07-20 16:05:17 +00:00
let StyleSheet;
2026-07-29 08:29:29 +00:00
let c3;
let c4;
let obj1;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
({ StyleSheet, View: obj1 } = get_ActivityIndicator);
({ jsx: c3, jsxs: c4 } = jsxProd);
2026-07-23 10:11:24 +00:00
const styles = StyleSheet.create({ wrapper: { height: "100%", width: "100%" }, header: { zIndex: 1 }, androidHeader: { position: "absolute", top: 0, left: 0, right: 0 } });
const result = require("jsxProd").fileFinishedImporting("design/components/Sticky/native/StickyWrapper.native.tsx");
2026-07-20 16:05:17 +00:00
export const StickyWrapper = function StickyWrapper(header) {
header = header.header;
2026-07-29 08:29:29 +00:00
let obj = { style: items, pointerEvents: header.pointerEvents, children: null };
items = [header.style, wrapper.wrapper];
let tmp5Result = null;
2026-07-20 16:05:17 +00:00
if (null != header) {
2026-07-29 08:29:29 +00:00
const items1 = [tmp3.header, ];
2026-07-20 16:05:17 +00:00
let androidHeader;
2026-07-29 08:29:29 +00:00
if (obj2.isAndroid()) {
androidHeader = tmp3.androidHeader;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj = { style: null, children: null };
2026-07-20 16:05:17 +00:00
items1[1] = androidHeader;
2026-07-29 08:29:29 +00:00
obj[0] = items1;
obj[1] = header;
tmp5Result = closure_3(tmp2, obj);
obj2 = require(501) /* PlatformTypes */;
const tmp5 = closure_3;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const items2 = [tmp5Result, header.children];
obj[2] = items2;
2026-07-20 16:05:17 +00:00
return closure_4(closure_2, obj);
};