2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 7301
|
|
|
|
|
// Function ID: 7302
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: ActionSheetCloseButton
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [19, 21, 5204, 1114, 5761, 576, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: ActionSheetCloseButton
|
|
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 7301 (ActionSheetCloseButton)
|
2026-09-10 05:38:07 +00:00
|
|
|
import nativeDefault from "native" /* 576 */;
|
|
|
|
|
import util from "util" /* 1114 */;
|
2026-09-12 13:45:10 +00:00
|
|
|
import Pressables from "Pressables" /* 5204 */;
|
|
|
|
|
import XSmallIcon from "XSmallIcon" /* 5761 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import noop from "module_19" /* 19 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
require = fn;
|
|
|
|
|
const jsx = fn(21).jsx;
|
|
|
|
|
const androidRippleConfig = Object.freeze({ radius: 12 });
|
|
|
|
|
const hitSlop = Object.freeze({ top: 8, right: 8, bottom: 8, left: 8 });
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("design/components/Sheet/native/ActionSheetCloseButton.native.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const ActionSheetCloseButton = function ActionSheetCloseButton(arg0) {
|
|
|
|
|
({ onPress, variant } = arg0);
|
2026-07-29 08:29:29 +00:00
|
|
|
const obj = { accessibilityRole: "button", accessibilityLabel: null, hitSlop: null, androidRippleConfig: null, onPress: null, children: null };
|
2026-09-10 05:38:07 +00:00
|
|
|
const intl = util.intl;
|
|
|
|
|
obj.accessibilityLabel = intl.string(util.t.cpT0Cq);
|
|
|
|
|
obj.hitSlop = hitSlop;
|
|
|
|
|
obj.androidRippleConfig = androidRippleConfig;
|
|
|
|
|
obj.onPress = onPress;
|
2026-07-20 16:05:17 +00:00
|
|
|
if ("overlay" === variant) {
|
2026-09-10 05:38:07 +00:00
|
|
|
let ICON_STRONG = nativeDefault.colors.WHITE;
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-09-10 05:38:07 +00:00
|
|
|
ICON_STRONG = nativeDefault.colors.ICON_STRONG;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
obj.children = jsx(XSmallIcon.XSmallIcon, { color: ICON_STRONG });
|
|
|
|
|
return jsx(Pressables.PressableOpacity, { accessibilityRole: "button", accessibilityLabel: null, hitSlop: null, androidRippleConfig: null, onPress: null, children: null });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|