Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4975.js (118.4 MB)
68 lines
2.8 KiB
TypeScript
68 lines
2.8 KiB
TypeScript
// Module ID: 16952
|
|
// Function ID: 16953
|
|
// Name: VibegrationsHeaderIconButton
|
|
// Dependencies: [19, 21, 4790, 558, 568, 5373, 2]
|
|
|
|
// Module 16952 (VibegrationsHeaderIconButton)
|
|
import c from "c" /* 568 */;
|
|
import Pressables from "Pressables" /* 5373 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
require = fn;
|
|
const jsx = fn(21).jsx;
|
|
const createStyles = fn(4790);
|
|
let closure_3 = createStyles.createStyles({ button: { width: 40, height: 40, alignItems: "center", justifyContent: "center" } });
|
|
const androidRippleConfig = { borderless: true, radius: 20 };
|
|
const ReactCompilerGating = fn(558);
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/vibegrations/native/VibegrationsHeaderIconButton.tsx");
|
|
|
|
export default noop.forwardRef(ReactCompilerGating.isReactCompilerEnabled() ? ((arg0, ref) => {
|
|
const cResult = c.c(12);
|
|
({ IconComponent, onPress, accessibilityLabel, accessibilityActions, onAccessibilityAction, accessibilityState, disabled } = arg0);
|
|
const tmp4 = closure_3();
|
|
if (cResult[0] !== IconComponent) {
|
|
const tmp7 = <IconComponent />;
|
|
cResult[0] = IconComponent;
|
|
cResult[1] = tmp7;
|
|
let tmp5 = tmp7;
|
|
} else {
|
|
tmp5 = cResult[1];
|
|
}
|
|
if (cResult[2] === accessibilityActions) {
|
|
if (cResult[3] === accessibilityLabel) {
|
|
if (cResult[4] === accessibilityState) {
|
|
if (cResult[5] === disabled) {
|
|
if (cResult[6] === onAccessibilityAction) {
|
|
if (cResult[7] === onPress) {
|
|
if (cResult[8] === ref) {
|
|
if (cResult[9] === tmp4.button) {
|
|
if (cResult[10] === tmp5) {
|
|
let tmp8 = cResult[11];
|
|
}
|
|
return tmp8;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
const tmp9 = jsx(Pressables.PressableOpacity, { ref, accessibilityRole: "button", accessibilityLabel, accessibilityActions, onAccessibilityAction, accessibilityState, disabled, onPress, activeOpacity: 0.6, androidRippleConfig, style: tmp4.button, children: tmp5 });
|
|
cResult[2] = accessibilityActions;
|
|
cResult[3] = accessibilityLabel;
|
|
cResult[4] = accessibilityState;
|
|
cResult[5] = disabled;
|
|
cResult[6] = onAccessibilityAction;
|
|
cResult[7] = onPress;
|
|
cResult[8] = ref;
|
|
cResult[9] = tmp4.button;
|
|
cResult[10] = tmp5;
|
|
cResult[11] = tmp9;
|
|
tmp8 = tmp9;
|
|
}) : ((arg0, ref) => {
|
|
({ IconComponent, onPress, accessibilityLabel, accessibilityActions, onAccessibilityAction, accessibilityState, disabled } = arg0);
|
|
const tmp = closure_3();
|
|
return jsx(Pressables.PressableOpacity, { ref, accessibilityRole: "button", accessibilityLabel, accessibilityActions, onAccessibilityAction, accessibilityState, disabled, onPress, activeOpacity: 0.6, androidRippleConfig, style: closure_3().button, children: <IconComponent /> });
|
|
}));
|