decord/source/modules/connections/native/LeaveConnectionRoleActionSheet.tsx

42 lines
2 KiB
TypeScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 10016
// Function ID: 10017
2026-07-20 16:05:17 +00:00
// Name: LeaveConnectionRoleActionSheet
2026-07-29 08:29:29 +00:00
// Dependencies: [19, 17, 21, 4189, 5243, 4185, 1236, 4600, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-29 08:29:29 +00:00
// Module 10016 (LeaveConnectionRoleActionSheet)
import "noop";
2026-07-23 10:11:24 +00:00
import { View } from "get ActivityIndicator";
import jsxProd from "jsxProd";
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey";
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
let c3;
let c4;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
({ jsx: c3, jsxs: c4 } = jsxProd);
let closure_5 = createCacheKey.createStyles({ container: { padding: 12 }, marginTop: { marginTop: 8 }, button: { marginTop: 8, marginBottom: 16 } });
2026-07-23 10:11:24 +00:00
const result = require("jsxProd").fileFinishedImporting("modules/connections/native/LeaveConnectionRoleActionSheet.tsx");
2026-07-20 16:05:17 +00:00
export default function LeaveConnectionRoleActionSheet(onLeaveRolePressed) {
const tmp = callback3();
2026-07-29 08:29:29 +00:00
let obj = { children: null };
obj = { style: tmp.container, children: null };
obj = { variant: "heading-lg/extrabold", color: "mobile-text-heading-primary", children: null };
const intl = require(1236) /* getSystemLocale */.intl;
obj[2] = intl.string(require(1236) /* getSystemLocale */.t.vytvJF);
const items = [callback(require(4185) /* Text */.Text, obj), , ];
const obj1 = { style: tmp.marginTop, variant: "text-md/normal", color: "text-default", children: null };
const intl2 = require(1236) /* getSystemLocale */.intl;
obj1[3] = intl2.string(require(1236) /* getSystemLocale */.t.caJwb5);
items[1] = callback(require(4185) /* Text */.Text, obj1);
const obj2 = { style: tmp.button, children: null };
const obj3 = { variant: "destructive", onPress: onLeaveRolePressed.onLeaveRolePressed, text: null, grow: true };
const intl3 = require(1236) /* getSystemLocale */.intl;
obj3[2] = intl3.string(require(1236) /* getSystemLocale */.t["+Oi4XF"]);
obj2[1] = callback(require(4600) /* Button */.Button, obj3);
2026-07-20 16:05:17 +00:00
items[2] = callback(View, obj2);
2026-07-29 08:29:29 +00:00
obj[1] = items;
obj[0] = callback2(View, obj);
return callback(require(5243) /* Background */.BottomSheet, obj);
2026-07-20 16:05:17 +00:00
};