decord/source/design/components/Sheet/native/ActionSheetCloseButton.native.tsx
2026-08-06 08:05:19 +00:00

33 lines
1.4 KiB
TypeScript

// Module ID: 5686
// Function ID: 5687
// Name: ActionSheetCloseButton
// Dependencies: [19, 21, 4827, 1236, 5309, 712, 2]
// Exports: ActionSheetCloseButton
// Module 5686 (ActionSheetCloseButton)
import "noop";
import { jsx } from "jsxProd";
const require = arg1;
let closure_4 = Object.freeze({ radius: 12 });
let closure_5 = Object.freeze({ top: 8, right: 8, bottom: 8, left: 8 });
const result = require("PressableBase").fileFinishedImporting("design/components/Sheet/native/ActionSheetCloseButton.native.tsx");
export const ActionSheetCloseButton = function ActionSheetCloseButton(arg0) {
let onPress;
let variant;
({ onPress, variant } = arg0);
const obj = { accessibilityRole: "button", accessibilityLabel: null, hitSlop: null, androidRippleConfig: null, onPress: null, children: null };
const intl = require(1236) /* getSystemLocale */.intl;
obj[1] = intl.string(require(1236) /* getSystemLocale */.t.cpT0Cq);
obj[2] = closure_5;
obj[3] = closure_4;
obj[4] = onPress;
if ("overlay" === variant) {
let ICON_STRONG = importDefault(712).colors.WHITE;
} else {
ICON_STRONG = importDefault(712).colors.ICON_STRONG;
}
obj[5] = jsx(require(5309) /* XSmallIcon */.XSmallIcon, { color: ICON_STRONG });
return jsx(require(4827) /* PressableBase */.PressableOpacity, { accessibilityRole: "button", accessibilityLabel: null, hitSlop: null, androidRippleConfig: null, onPress: null, children: null });
};