decord/source/design/components/Sticky/native/StickyWrapper.native.tsx
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

42 lines
1.4 KiB
TypeScript

// Module ID: 11392
// Function ID: 11393
// Name: StickyWrapper
// Dependencies: [19, 17, 21, 1116, 2]
// Exports: StickyWrapper
// Module 11392 (StickyWrapper)
import utils_PlatformUtils from "utils/PlatformUtils" /* 1116 */;
import noop from "module_19" /* 19 */;
require = fn;
get_ActivityIndicator = fn(17);
({ StyleSheet, View: c2 } = get_ActivityIndicator);
const jsxProd = fn(21);
({ jsx: c3, jsxs: closure_4 } = jsxProd);
const wrapper = StyleSheet.create({ wrapper: { height: "100%", width: "100%" }, header: { zIndex: 1 }, androidHeader: { position: "absolute", top: 0, left: 0, right: 0 } });
const size = fn(2);
const result = size.fileFinishedImporting("design/components/Sticky/native/StickyWrapper.native.tsx");
export const StickyWrapper = function StickyWrapper(header) {
header = header.header;
const obj = { style: null, pointerEvents: header.pointerEvents, children: null };
const items = [header.style, wrapper.wrapper];
obj.style = items;
let tmp5Result = null;
if (null != header) {
const items1 = [tmp3.header, ];
let androidHeader;
if (obj2.isAndroid()) {
androidHeader = tmp3.androidHeader;
}
const obj3 = { style: null, children: null };
items1[1] = androidHeader;
obj3.style = items1;
obj3.children = header;
tmp5Result = React3(tmp2, obj3);
obj2 = utils_PlatformUtils;
}
const items2 = [tmp5Result, header.children];
obj.children = items2;
return React4(React2, obj);
};