decord/source/modules/home_drawer/native/HomeDrawerShared.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

35 lines
1.3 KiB
TypeScript

// Module ID: 16436
// Function ID: 16437
// Name: HomeDrawerShared
// Dependencies: [19, 17, 21, 4638, 2]
// Exports: HomeDrawerSharedItem
// Module 16436 (HomeDrawerShared)
import noop from "module_19" /* 19 */;
const View = fn(17).View;
const jsxProd = fn(21);
({ jsxs: closure_1, jsx: c2 } = jsxProd);
const createStyles = fn(4638);
let closure_3 = createStyles.createStyles({ container: { flex: 1, flexDirection: "row", alignItems: "center", justifyContent: "space-between", gap: 12 }, titleContainer: { flex: 1, flexDirection: "column", justifyContent: "center", gap: 2 }, rightContainer: { overflow: "hidden" } });
const size = fn(2);
const result = size.fileFinishedImporting("modules/home_drawer/native/HomeDrawerShared.tsx");
export const HomeDrawerSharedItem = function HomeDrawerSharedItem(right) {
right = right.right;
({ title, subtitle } = right);
const tmp = closure_3();
const obj = { style: tmp.container, children: null };
const obj2 = { style: tmp.titleContainer, children: null };
const items = [title, subtitle];
obj2.children = items;
const items1 = [framebus(View, obj2), ];
let tmp4 = null;
if (null != right) {
const obj3 = { style: tmp.rightContainer, children: right };
tmp4 = React2(tmp3, obj3);
}
items1[1] = tmp4;
obj.children = items1;
return framebus(View, obj);
};