decord/source/design/components/Sheet/native/ActionSheetIconHeader.native.tsx

40 lines
1.6 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 10555
// Function ID: 10556
2026-07-20 16:05:17 +00:00
// Name: ActionSheetIconHeader
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 17, 21, 4668, 4739, 2]
2026-07-20 16:05:17 +00:00
// Exports: ActionSheetIconHeader
2026-08-24 06:08:38 +00:00
// Module 10555 (ActionSheetIconHeader)
import noopAll from "noop" /* 19 */;
import Text from "Text" /* 4739 */;
import { View } from "get ActivityIndicator" /* 17 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4668 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
noopAll;
2026-07-29 08:29:29 +00:00
({ jsx: c3, jsxs: c4 } = jsxProd);
let closure_5 = createCacheKey.createStyles({ container: { paddingVertical: 0, flexDirection: "row", alignItems: "center", gap: 12 }, titles: { justifyContent: "center", flex: 1 } });
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("design/components/Sheet/native/ActionSheetIconHeader.native.tsx");
2026-07-20 16:05:17 +00:00
export const ActionSheetIconHeader = function ActionSheetIconHeader(subtitle) {
subtitle = subtitle.subtitle;
({ title, icon } = subtitle);
const tmp = callback2();
2026-07-29 08:29:29 +00:00
let obj = { style: tmp.container, children: null };
2026-07-20 16:05:17 +00:00
const items = [callback(View, { children: icon }), ];
2026-07-29 08:29:29 +00:00
obj = { style: tmp.titles, children: null };
2026-08-24 06:08:38 +00:00
const items1 = [callback(Text.Text, { variant: "redesign/heading-18/bold", color: "mobile-text-heading-primary", accessibilityRole: "header", lineClamp: 2, children: title }), ];
2026-07-29 08:29:29 +00:00
let tmp4Result = null;
2026-07-20 16:05:17 +00:00
if (null != subtitle) {
2026-07-29 08:29:29 +00:00
obj = { variant: "text-xs/medium", color: "text-default", children: null };
obj[2] = subtitle;
2026-08-24 06:08:38 +00:00
tmp4Result = callback(Text.Text, obj);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
items1[1] = tmp4Result;
obj[1] = items1;
2026-07-20 16:05:17 +00:00
items[1] = closure_4(View, obj);
2026-07-29 08:29:29 +00:00
obj[1] = items;
2026-07-20 16:05:17 +00:00
return closure_4(View, obj);
};