decord/source/modules/group_dm/native/GroupDMNitroCapInfoActionSheet.tsx
github-actions 20a21ad13f chore: update source for alpha 346.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
2026-09-11 19:12:58 +00:00

58 lines
2.9 KiB
TypeScript

// Module ID: 12282
// Function ID: 12283
// Name: GroupDMNitroCapInfoActionSheet
// Dependencies: [19, 17, 11686, 21, 4606, 576, 4573, 7223, 4602, 1114, 5026, 2]
// Exports: default
// Module 12282 (GroupDMNitroCapInfoActionSheet)
import nativeDefault from "native" /* 576 */;
import util from "util" /* 1114 */;
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4573 */;
import Text_Text from "Text/Text" /* 4602 */;
import components_Button_Button from "components/Button/Button" /* 5026 */;
import Sheet_BottomSheet from "Sheet/BottomSheet" /* 7223 */;
import noop from "module_19" /* 19 */;
require = fn;
const View = fn(17).View;
const number = fn(11686).MAX_GROUP_DM_NITRO_PARTICIPANTS;
const jsxProd = fn(21);
({ jsx: metroRequire, jsxs: closure_7 } = jsxProd);
const createStyles = fn(4606);
let obj2 = { container: { alignItems: "center", paddingHorizontal: nativeDefault.space.PX_16, paddingBottom: nativeDefault.space.PX_16 }, title: null, body: null, button: null };
let obj3 = { alignItems: "center", paddingHorizontal: nativeDefault.space.PX_16, paddingBottom: nativeDefault.space.PX_16 };
obj2.title = { marginTop: nativeDefault.space.PX_8, textAlign: "center" };
let obj4 = { marginTop: nativeDefault.space.PX_8, textAlign: "center" };
obj2.body = { marginTop: nativeDefault.space.PX_4, textAlign: "center" };
const obj5 = { marginTop: nativeDefault.space.PX_4, textAlign: "center" };
obj2.button = { width: "100%", marginTop: nativeDefault.space.PX_24 };
let closure_8 = createStyles.createStyles(obj2);
const size = fn(2);
const result = size.fileFinishedImporting("modules/group_dm/native/GroupDMNitroCapInfoActionSheet.tsx");
export default function GroupDMNitroCapInfoActionSheet() {
const tmp = closure_8();
const callback = noop.useCallback(() => {
ActionSheetActionCreatorsDefault.hideActionSheet();
}, []);
const obj = { showGradient: true, children: null };
const obj2 = { style: tmp.container, children: null };
const obj3 = { style: tmp.title, variant: "heading-lg/extrabold", color: "mobile-text-heading-primary", accessibilityRole: "header", children: null };
const intl = util.intl;
obj3.children = intl.string(util.t.u1ilug);
const items = [timestampProducer(Text_Text.Text, obj3), , ];
const obj4 = { style: tmp.body, variant: "text-md/medium", color: "text-muted", children: null };
const intl2 = util.intl;
obj4.children = intl2.formatToPlainString(util.t["mr27w/"], { number });
items[1] = timestampProducer(Text_Text.Text, obj4);
const obj6 = { style: tmp.button, children: null };
const obj7 = { text: null, variant: "secondary", onPress: null, grow: true };
const intl3 = util.intl;
obj7.text = intl3.string(util.t.cpT0Cq);
obj7.onPress = callback;
obj6.children = timestampProducer(components_Button_Button.Button, obj7);
items[2] = timestampProducer(View, obj6);
obj2.children = items;
obj.children = React5(View, obj2);
return timestampProducer(Sheet_BottomSheet.BottomSheet, obj);
};