decord/source/modules/quests/native/BountiesModal/BountiesModalCloseButton.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

35 lines
1.7 KiB
TypeScript

// Module ID: 15057
// Function ID: 15058
// Name: BountiesModalCloseButton
// Dependencies: [19, 21, 4560, 576, 5123, 1114, 5680, 2]
// Exports: default
// Module 15057 (BountiesModalCloseButton)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 576 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
import PressableBase from "PressableBase" /* 5123 */;
import XSmallIcon from "XSmallIcon" /* 5680 */;
import { jsx } from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4560 */;
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 });
};