// Module ID: 11154 // Function ID: 11155 // Name: SummaryActionSheetButton // Dependencies: [19, 17, 21, 4445, 712, 5020, 1297, 4441, 2] // Exports: SummaryActionSheetButton // Module 11154 (SummaryActionSheetButton) import noopAll from "noop" /* 19 */; import ThemesDefault from "Themes" /* 712 */; import Button from "Button" /* 1297 */; import Text from "Text" /* 4441 */; import PressableBase from "PressableBase" /* 5020 */; import { View } from "get ActivityIndicator" /* 17 */; import jsxProd from "jsxProd" /* 21 */; import createCacheKey from "createCacheKey" /* 4445 */; require = arg1; noopAll; ({ jsx: c3, jsxs: c4 } = jsxProd); createCacheKey = { container: { flexDirection: "column", justifyContent: "center", alignItems: "center", paddingVertical: 8, width: 78 }, iconBox: null, icon: null, name: null }; createCacheKey = { borderRadius: ThemesDefault.radii.round, border: 1, overflow: "hidden", alignItems: "center", justifyContent: "center", backgroundColor: ThemesDefault.colors.BACKGROUND_BASE_LOW }; const merged = Object.assign(ThemesDefault.shadows.SHADOW_LOW); createCacheKey[1] = createCacheKey; createCacheKey[2] = { margin: 12, tintColor: ThemesDefault.colors.INTERACTIVE_TEXT_DEFAULT }; createCacheKey[3] = { textAlign: "center", marginTop: 8 }; let closure_5 = createCacheKey.createStyles(createCacheKey); const obj1 = { margin: 12, tintColor: ThemesDefault.colors.INTERACTIVE_TEXT_DEFAULT }; const result = require("set").fileFinishedImporting("modules/summaries/native/SummaryActionSheetButton.tsx"); export const SummaryActionSheetButton = function SummaryActionSheetButton(label) { label = label.label; ({ iconSource, onPress } = label); const tmp = callback3(); let obj = { style: tmp.container, onPress, accessibilityRole: "button", accessibilityLabel: label, children: null }; obj = { style: items, children: callback(Button.Icon, obj) }; items = [tmp.iconBox]; obj = { style: tmp.icon, source: iconSource }; const items1 = [callback(View, obj), callback(Text.Text, { style: tmp.name, variant: "text-xs/medium", color: "interactive-text-default", lineClamp: 1, children: label })]; obj[4] = items1; return callback2(PressableBase.PressableOpacity, obj); };