2026-09-18 06:58:00 +00:00
|
|
|
// Module ID: 15354
|
|
|
|
|
// Function ID: 15355
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: VideoQuestModalCloseButton
|
2026-09-18 06:58:00 +00:00
|
|
|
// Dependencies: [21, 576, 5292, 1115, 5850, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-18 06:58:00 +00:00
|
|
|
// Module 15354 (VideoQuestModalCloseButton)
|
2026-08-24 06:08:38 +00:00
|
|
|
import jsxProd from "jsxProd" /* 21 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import nativeDefault from "native" /* 576 */;
|
2026-09-15 14:23:42 +00:00
|
|
|
import util from "util" /* 1115 */;
|
2026-09-18 06:58:00 +00:00
|
|
|
import Pressables from "Pressables" /* 5292 */;
|
|
|
|
|
import XSmallIcon from "XSmallIcon" /* 5850 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
const jsx = jsxProd.jsx;
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/quests/native/VideoQuestModal/VideoQuestModalCloseButton.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function VideoQuestModalCloseButton(iconColor) {
|
|
|
|
|
let MOBILE_TEXT_HEADING_PRIMARY = iconColor.iconColor;
|
|
|
|
|
if (MOBILE_TEXT_HEADING_PRIMARY === undefined) {
|
2026-09-10 05:38:07 +00:00
|
|
|
MOBILE_TEXT_HEADING_PRIMARY = nativeDefault.colors.MOBILE_TEXT_HEADING_PRIMARY;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
const obj = { accessibilityLabel: null, accessibilityRole: "button", hitSlop: 12, onPress: null, style: null, children: null };
|
2026-09-10 05:38:07 +00:00
|
|
|
const intl = util.intl;
|
|
|
|
|
obj.accessibilityLabel = intl.string(util.t.cpT0Cq);
|
|
|
|
|
obj.onPress = iconColor.onClose;
|
2026-07-23 10:11:24 +00:00
|
|
|
const items = [{ flexShrink: 0, minWidth: 24, minHeight: 24 }, iconColor.style];
|
2026-09-10 05:38:07 +00:00
|
|
|
obj.style = items;
|
|
|
|
|
obj.children = jsx(XSmallIcon.XSmallIcon, { color: MOBILE_TEXT_HEADING_PRIMARY });
|
|
|
|
|
return jsx(Pressables.PressableOpacity, { accessibilityLabel: null, accessibilityRole: "button", hitSlop: 12, onPress: null, style: null, children: null });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|