decord/source/design/components/Sheet/native/ActionSheetIconHeader.native.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

39 lines
1.6 KiB
TypeScript

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