39 lines
2 KiB
TypeScript
39 lines
2 KiB
TypeScript
// Module ID: 10884
|
|
// Function ID: 84583
|
|
// Name: SummaryActionSheetButton
|
|
// Dependencies: []
|
|
// Exports: SummaryActionSheetButton
|
|
|
|
// Module 10884 (SummaryActionSheetButton)
|
|
importAll(dependencyMap[0]);
|
|
const View = arg1(dependencyMap[1]).View;
|
|
({ jsx: closure_3, jsxs: closure_4 } = arg1(dependencyMap[2]));
|
|
let obj = arg1(dependencyMap[3]);
|
|
obj = { container: { options: "isArray", space: "key", channel: "LIGHT", flex: "limit", flexDirection: "limit" } };
|
|
obj = { borderRadius: importDefault(dependencyMap[4]).radii.round, backgroundColor: importDefault(dependencyMap[4]).colors.BACKGROUND_BASE_LOW };
|
|
const merged = Object.assign(importDefault(dependencyMap[4]).shadows.SHADOW_LOW);
|
|
obj.iconBox = obj;
|
|
const tmp3 = arg1(dependencyMap[2]);
|
|
obj.icon = { margin: 12, tintColor: importDefault(dependencyMap[4]).colors.INTERACTIVE_TEXT_DEFAULT };
|
|
obj.name = { "Bool(true)": "absolute", "Bool(true)": 0 };
|
|
let closure_5 = obj.createStyles(obj);
|
|
const obj1 = { margin: 12, tintColor: importDefault(dependencyMap[4]).colors.INTERACTIVE_TEXT_DEFAULT };
|
|
const result = arg1(dependencyMap[8]).fileFinishedImporting("modules/summaries/native/SummaryActionSheetButton.tsx");
|
|
|
|
export const SummaryActionSheetButton = function SummaryActionSheetButton(label) {
|
|
let iconSource;
|
|
let onPress;
|
|
label = label.label;
|
|
({ iconSource, onPress } = label);
|
|
const tmp = callback3();
|
|
let obj = { style: tmp.container, onPress, accessibilityRole: "button", accessibilityLabel: label };
|
|
obj = { style: items };
|
|
const items = [tmp.iconBox];
|
|
obj = { style: tmp.icon, source: iconSource };
|
|
obj.children = callback(arg1(dependencyMap[6]).Icon, obj);
|
|
const items1 = [callback(View, obj), ];
|
|
const obj1 = { <string:2195412908>: 1, <string:1614302748>: 22, <string:4055242192>: "exposure_tracking", <string:3322189872>: "enum", style: tmp.name, children: label };
|
|
items1[1] = callback(arg1(dependencyMap[7]).Text, obj1);
|
|
obj.children = items1;
|
|
return callback2(arg1(dependencyMap[5]).PressableOpacity, obj);
|
|
};
|