// Module ID: 14475 // Function ID: 14476 // Name: BountiesModalCloseButton // Dependencies: [19, 21, 4668, 712, 5438, 1236, 6399, 2] // Exports: default // Module 14475 (BountiesModalCloseButton) import noopAll from "noop" /* 19 */; import ThemesDefault from "Themes" /* 712 */; import getSystemLocale from "getSystemLocale" /* 1236 */; import PressableBase from "PressableBase" /* 5438 */; import XSmallIcon from "XSmallIcon" /* 6399 */; import { jsx } from "jsxProd" /* 21 */; import createCacheKey from "createCacheKey" /* 4668 */; require = arg1; noopAll; let closure_4 = createCacheKey.createStyles(() => { let obj = { closeButton: null }; obj = { alignItems: "center", justifyContent: "center", backgroundColor: ThemesDefault.colors.CONTROL_OVERLAY_SECONDARY_BACKGROUND_DEFAULT, borderRadius: ThemesDefault.radii.round, width: ThemesDefault.space.PX_32, height: ThemesDefault.space.PX_32 }; obj[0] = obj; return obj; }); const result = require("set").fileFinishedImporting("modules/quests/native/BountiesModal/BountiesModalCloseButton.tsx"); export default function BountiesModalCloseButton(onPress) { let obj = { accessibilityLabel: null, accessibilityRole: "button", hitSlop: 12, onPress: null, style: null, children: null }; const intl = getSystemLocale.intl; obj[0] = intl.string(getSystemLocale.t.cpT0Cq); obj[3] = onPress.onPress; obj[4] = callback().closeButton; obj = { size: "sm", color: ThemesDefault.colors.CONTROL_OVERLAY_SECONDARY_TEXT_DEFAULT }; obj[5] = jsx(XSmallIcon.XSmallIcon, { size: "sm", color: ThemesDefault.colors.CONTROL_OVERLAY_SECONDARY_TEXT_DEFAULT }); return jsx(PressableBase.PressableOpacity, { size: "sm", color: ThemesDefault.colors.CONTROL_OVERLAY_SECONDARY_TEXT_DEFAULT }); };