decord/source/design/components/Sheet/native/ActionSheetCloseButton.native.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

36 lines
1.5 KiB
TypeScript

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