decord/source/modules/summaries/native/SummaryActionSheetButton.tsx

44 lines
2.4 KiB
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 10873
// Function ID: 84440
2026-07-20 16:05:17 +00:00
// Name: SummaryActionSheetButton
2026-07-25 08:10:48 +00:00
// Dependencies: [31, 27, 33, 4131, 689, 4661, 1273, 4127, 2]
2026-07-20 16:05:17 +00:00
// Exports: SummaryActionSheetButton
2026-07-27 11:26:19 +00:00
// Module 10873 (SummaryActionSheetButton)
2026-07-23 10:11:24 +00:00
import "result";
import { View } from "get ActivityIndicator";
import jsxProd from "jsxProd";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
let closure_3;
let closure_4;
const require = arg1;
({ jsx: closure_3, jsxs: closure_4 } = jsxProd);
_createForOfIteratorHelperLoose = { container: { flexDirection: "column", justifyContent: "center", alignItems: "center", paddingVertical: 8, width: 78 } };
_createForOfIteratorHelperLoose = { borderRadius: require("_createForOfIteratorHelperLoose").radii.round, border: 1, overflow: "hidden", alignItems: "center", justifyContent: "center", backgroundColor: require("_createForOfIteratorHelperLoose").colors.BACKGROUND_BASE_LOW };
const merged = Object.assign(require("_createForOfIteratorHelperLoose").shadows.SHADOW_LOW);
_createForOfIteratorHelperLoose.iconBox = _createForOfIteratorHelperLoose;
_createForOfIteratorHelperLoose.icon = { margin: 12, tintColor: require("_createForOfIteratorHelperLoose").colors.INTERACTIVE_TEXT_DEFAULT };
_createForOfIteratorHelperLoose.name = { textAlign: "center", marginTop: 8 };
_createForOfIteratorHelperLoose = _createForOfIteratorHelperLoose.createStyles(_createForOfIteratorHelperLoose);
let obj1 = { margin: 12, tintColor: require("_createForOfIteratorHelperLoose").colors.INTERACTIVE_TEXT_DEFAULT };
const result = require("jsxProd").fileFinishedImporting("modules/summaries/native/SummaryActionSheetButton.tsx");
2026-07-20 16:05:17 +00:00
export const SummaryActionSheetButton = function SummaryActionSheetButton(label) {
let iconSource;
let onPress;
label = label.label;
({ iconSource, onPress } = label);
2026-07-23 10:11:24 +00:00
const tmp = _createForOfIteratorHelperLoose();
2026-07-20 16:05:17 +00:00
let obj = { style: tmp.container, onPress, accessibilityRole: "button", accessibilityLabel: label };
obj = { style: items };
2026-07-23 10:11:24 +00:00
items = [tmp.iconBox];
2026-07-20 16:05:17 +00:00
obj = { style: tmp.icon, source: iconSource };
2026-07-23 10:11:24 +00:00
obj.children = callback(require(1273) /* Button */.Icon, obj);
2026-07-20 16:05:17 +00:00
const items1 = [callback(View, obj), ];
2026-07-23 10:11:24 +00:00
const obj1 = { style: tmp.name, variant: "text-xs/medium", color: "interactive-text-default", lineClamp: 1, children: label };
2026-07-25 08:10:48 +00:00
items1[1] = callback(require(4127) /* Text */.Text, obj1);
2026-07-20 16:05:17 +00:00
obj.children = items1;
2026-07-25 08:10:48 +00:00
return callback2(require(4661) /* PressableBase */.PressableOpacity, obj);
2026-07-20 16:05:17 +00:00
};