2026-07-20 16:05:17 +00:00
|
|
|
// Module ID: 1801
|
2026-07-25 08:10:48 +00:00
|
|
|
// Function ID: 19920
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: ButtonAndroid
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [31, 27, 33, 1776]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
|
|
|
|
// Module 1801 (ButtonAndroid)
|
2026-07-23 10:11:24 +00:00
|
|
|
import "result";
|
|
|
|
|
import { useMemo } from "result";
|
|
|
|
|
import get_ActivityIndicator from "get ActivityIndicator";
|
|
|
|
|
import { jsx } from "jsxProd";
|
|
|
|
|
|
2026-07-20 16:05:17 +00:00
|
|
|
let Platform;
|
|
|
|
|
let TouchableOpacity;
|
2026-07-23 10:11:24 +00:00
|
|
|
let closure_3;
|
|
|
|
|
let closure_4;
|
|
|
|
|
const require = arg1;
|
|
|
|
|
({ Platform, TouchableNativeFeedback: closure_3, TouchableOpacity, View: closure_4 } = get_ActivityIndicator);
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function ButtonAndroid(disabled) {
|
|
|
|
|
let accessibilityHint;
|
|
|
|
|
let accessibilityLabel;
|
|
|
|
|
let children;
|
|
|
|
|
let onPress;
|
|
|
|
|
let style;
|
|
|
|
|
let testID;
|
|
|
|
|
let theme;
|
|
|
|
|
disabled = disabled.disabled;
|
|
|
|
|
const rippleRadius = disabled.rippleRadius;
|
|
|
|
|
let num = 18;
|
|
|
|
|
({ children, onPress, accessibilityLabel, accessibilityHint, testID } = disabled);
|
|
|
|
|
if (undefined !== rippleRadius) {
|
|
|
|
|
num = rippleRadius;
|
|
|
|
|
}
|
|
|
|
|
({ style, theme } = disabled);
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj = disabled(num[3]);
|
2026-07-20 16:05:17 +00:00
|
|
|
const keyboardState = obj.useKeyboardState((appearance) => appearance.appearance);
|
|
|
|
|
const items = [disabled];
|
|
|
|
|
const items1 = [keyboardState, num, theme];
|
2026-07-23 10:11:24 +00:00
|
|
|
obj = { accessibilityHint, accessibilityLabel, accessibilityRole: "button", accessibilityState: theme(() => ({ disabled }), items), background: theme(() => keyboardState.Ripple(theme[keyboardState].ripple, true, num), items1), style, testID, onPress, children: <closure_4 style={style}>{children}</closure_4> };
|
|
|
|
|
return <keyboardState accessibilityHint={accessibilityHint} accessibilityLabel={accessibilityLabel} accessibilityRole="button" accessibilityState={theme(() => ({ disabled }), items)} background={theme(() => keyboardState.Ripple(theme[keyboardState].ripple, true, num), items1)} style={style} testID={testID} onPress={onPress}><closure_4 style={style}>{children}</closure_4></keyboardState>;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|