39 lines
1.6 KiB
TypeScript
39 lines
1.6 KiB
TypeScript
// Module ID: 10351
|
|
// Function ID: 10352
|
|
// Name: ActionSheetIconHeader
|
|
// Dependencies: [19, 17, 21, 4380, 4376, 2]
|
|
// Exports: ActionSheetIconHeader
|
|
|
|
// Module 10351 (ActionSheetIconHeader)
|
|
import noopAll from "noop" /* 19 */;
|
|
import Text from "Text" /* 4376 */;
|
|
import { View } from "get ActivityIndicator" /* 17 */;
|
|
import jsxProd from "jsxProd" /* 21 */;
|
|
import createCacheKey from "createCacheKey" /* 4380 */;
|
|
|
|
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);
|
|
};
|