decord/source/design/void/CardSection/native/CardSection.tsx

56 lines
2.1 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 8149
// Function ID: 8150
2026-07-20 16:05:17 +00:00
// Name: CardSection
2026-08-25 06:04:03 +00:00
// Dependencies: [19, 17, 676, 21, 4380, 5342, 712, 8150, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-25 06:04:03 +00:00
// Module 8149 (CardSection)
2026-08-24 06:08:38 +00:00
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 712 */;
2026-08-25 06:04:03 +00:00
import _modDef8150 from "module_8150" /* 8150 */;
2026-08-24 06:08:38 +00:00
import { View } from "get ActivityIndicator" /* 17 */;
import jsxProd from "jsxProd" /* 21 */;
2026-08-25 06:04:03 +00:00
import createCacheKey from "createCacheKey" /* 4380 */;
import importDefaultResult from "createTextStyle" /* 5342 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
noopAll;
2026-07-29 08:29:29 +00:00
({ jsx: c3, jsxs: c4 } = jsxProd);
2026-08-24 06:08:38 +00:00
createCacheKey = { container: { paddingTop: 16, paddingHorizontal: 16 }, title: importDefaultResult(require("ME").Fonts.DISPLAY_EXTRABOLD, ThemesDefault.colors.TEXT_SUBTLE, 12, { uppercase: true, marginBottom: 6 }), card: null };
createCacheKey = { borderRadius: ThemesDefault.radii.xs, overflow: "hidden", backgroundColor: ThemesDefault.colors.BACKGROUND_BASE_LOWEST };
2026-07-29 08:29:29 +00:00
createCacheKey[2] = createCacheKey;
2026-08-24 06:08:38 +00:00
let closure_5 = createCacheKey.createStyles(createCacheKey);
const result = require("set").fileFinishedImporting("design/void/CardSection/native/CardSection.tsx");
2026-07-20 16:05:17 +00:00
export default function CardSection(arg0) {
({ title, children, headerComponent } = arg0);
({ titleStyle, cardStyle, style, accessibilityRole, accessibilityLabel } = arg0);
2026-08-24 06:08:38 +00:00
const tmp = callback2();
2026-07-29 08:29:29 +00:00
let obj = { style: items, accessibilityRole, accessibilityLabel, children: null };
2026-07-23 10:11:24 +00:00
items = [tmp.container, style];
2026-07-20 16:05:17 +00:00
let tmp4 = null;
if (null != title) {
2026-07-29 08:29:29 +00:00
obj = { style: null, accessibilityRole: "header", children: null };
2026-07-20 16:05:17 +00:00
const items1 = [tmp.title, titleStyle];
2026-07-29 08:29:29 +00:00
obj[0] = items1;
obj[2] = title;
2026-08-25 06:04:03 +00:00
tmp4 = callback(_modDef8150, obj);
2026-07-20 16:05:17 +00:00
}
const items2 = [tmp4, , ];
let tmp8 = null;
if (null != headerComponent) {
tmp8 = headerComponent;
}
items2[1] = tmp8;
let tmp9 = null;
if (null != children) {
2026-07-29 08:29:29 +00:00
obj = { style: null, children: null };
2026-07-20 16:05:17 +00:00
const items3 = [tmp.card, cardStyle];
2026-07-29 08:29:29 +00:00
obj[0] = items3;
obj[1] = children;
tmp9 = callback(tmp3, obj);
2026-07-20 16:05:17 +00:00
}
items2[2] = tmp9;
2026-07-29 08:29:29 +00:00
obj[3] = items2;
2026-07-20 16:05:17 +00:00
return closure_4(View, obj);
};