decord/source/modules/safety_hub/native/AppealIngestionExternalLink.tsx
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

50 lines
2.5 KiB
TypeScript

// Module ID: 12030
// Function ID: 12031
// Name: AppealIngestionExternalLink
// Dependencies: [19, 17, 21, 4636, 576, 5204, 4331, 4632, 1178, 8762, 2]
// Exports: default
// Module 12030 (AppealIngestionExternalLink)
import nativeDefault from "native" /* 576 */;
import native from "native" /* 1178 */;
import LinkingDefault from "Linking" /* 4331 */;
import Text_Text from "Text/Text" /* 4632 */;
import Pressables from "Pressables" /* 5204 */;
import _mod8762 from "module_8762" /* 8762 */;
import noop from "module_19" /* 19 */;
require = fn;
const View = fn(17).View;
const jsxProd = fn(21);
({ jsx: closure_4, jsxs: hasOwnProperty } = jsxProd);
const createStyles = fn(4636);
let obj2 = { childButton: { marginBottom: 8, borderRadius: nativeDefault.radii.xs }, childContainer: null, childButtonText: null, chevron: null };
const obj3 = { marginBottom: 8, borderRadius: nativeDefault.radii.xs };
obj2.childContainer = { minHeight: 60, flexDirection: "row", alignItems: "center", justifyContent: "flex-start", backgroundColor: nativeDefault.colors.BACKGROUND_SURFACE_HIGH, paddingVertical: 16, paddingStart: 16, paddingEnd: 8, borderRadius: nativeDefault.radii.xs };
obj2.childButtonText = { flex: 1, lineHeight: 20 };
const obj4 = { minHeight: 60, flexDirection: "row", alignItems: "center", justifyContent: "flex-start", backgroundColor: nativeDefault.colors.BACKGROUND_SURFACE_HIGH, paddingVertical: 16, paddingStart: 16, paddingEnd: 8, borderRadius: nativeDefault.radii.xs };
obj2.chevron = { color: nativeDefault.colors.INTERACTIVE_TEXT_DEFAULT };
let closure_6 = createStyles.createStyles(obj2);
const size = fn(2);
const result = size.fileFinishedImporting("modules/safety_hub/native/AppealIngestionExternalLink.tsx");
export default function AppealIngestionExternalLink(children) {
({ url: require, onPress: importDefault } = children);
const tmp = closure_6();
const obj = {
style: tmp.childButton,
accessibilityRole: "button",
onPress() {
if (closure_1_1 != null) {
tmp();
}
LinkingDefault.openURL(require);
},
children: null
};
const obj2 = { style: tmp.childContainer, children: null };
const items = [closure_4(Text_Text.Text, { style: tmp.childButtonText, variant: "text-md/semibold", color: "mobile-text-heading-primary", children: children.text }), closure_4(native.Icon, { source: _mod8762, color: tmp.chevron.color })];
obj2.children = items;
obj.children = closure_5(View, obj2);
return closure_4(Pressables.PressableHighlight, obj);
};