decord/source/modules/icymi/native/ReplyRow.tsx
2026-07-21 22:01:30 +00:00

54 lines
3.4 KiB
TypeScript

// Module ID: 15113
// Function ID: 114058
// Name: ContentInventoryReplyRow
// Dependencies: [0, 0, 0, 0, 0, 0, 0, 0, 0]
// Exports: ContentInventoryReplyRow
// Module 15113 (ContentInventoryReplyRow)
import "result";
import { View } from "result";
import result from "result";
import result from "result";
import result from "result";
({ jsx: closure_4, jsxs: closure_5 } = result);
let closure_6 = result.createICYMIStyles((margin) => {
let obj = {};
obj = { height: 1, backgroundColor: importDefault(dependencyMap[4]).colors.BORDER_SUBTLE, marginBottom: margin.margin, width: "100%" };
obj.separator = obj;
obj = { 9223372036854775807: true, 9223372036854775807: true, 9223372036854775807: true, 0: true };
({ margin: obj3.marginHorizontal, margin: obj3.marginBottom } = margin);
obj.gap = importDefault(dependencyMap[4]).space.PX_12;
obj.container = obj;
const obj1 = { "Null": null, "Null": null, height: importDefault(dependencyMap[4]).space.PX_40 };
obj.buttonContainer = obj1;
const obj2 = { <string:1334598284>: 18058521, <string:3229045644>: 302139792, <string:2213734789>: 302191137, gap: importDefault(dependencyMap[4]).space.PX_12, height: importDefault(dependencyMap[4]).space.PX_40 };
obj.feedbackContainer = obj2;
obj.icon = { "Null": 0, "Null": -1048576 };
const obj3 = { tintColor: importDefault(dependencyMap[4]).colors.BUTTON_OUTLINE_PRIMARY_TEXT };
obj.feedbackButtonIcon = obj3;
obj.input = { flex: 1, borderRadius: importDefault(dependencyMap[4]).radii.round };
const obj5 = { shouldCancelWhenOutside: "row", shouldActivateOnStart: "100%", disallowInterruption: 2, friction: "center", overshootFriction: 175957752100128600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, backgroundColor: importDefault(dependencyMap[4]).colors.REDESIGN_CHAT_INPUT_BACKGROUND };
obj.contentInventoryPressable = obj5;
const obj6 = { alignSelf: 14, marginBottom: 16, renderCodedLinks: 8, renderGiftCode: null, renderActivityInstanceEmbed: "\u{1F44F}\u{1F3FF}", marginLeft: margin.margin, paddingVertical: importDefault(dependencyMap[4]).space.PX_8, gap: importDefault(dependencyMap[4]).space.PX_4 };
obj.contentInventoryContainer = obj6;
obj.contentInventoryText = { flexShrink: 1 };
({ inset: obj10.marginLeft, margin: obj10.marginTop } = margin);
obj.replyContainer = { "Null": 7, "Null": 370 };
return obj;
});
result = result.fileFinishedImporting("modules/icymi/native/ReplyRow.tsx");
export const ContentInventoryReplyRow = function ContentInventoryReplyRow(onPress) {
const reactText = onPress.reactText;
const tmp = callback3();
let obj = { style: tmp.replyContainer };
obj = { accessibilityRole: "button", onPress: onPress.onReply, style: tmp.contentInventoryPressable, accessibilityLabel: reactText, pointerEvents: "box-only" };
obj = { style: tmp.contentInventoryContainer };
const obj1 = { <string:1643205302>: true, <string:1415816450>: true, <string:4283523744>: true, style: tmp.contentInventoryText, children: reactText };
const items = [callback(arg1(dependencyMap[6]).Text, obj1), callback(arg1(dependencyMap[7]).ReactionIcon, { style: tmp.icon, size: "custom" })];
obj.children = items;
obj.children = callback2(View, obj);
obj.children = callback(arg1(dependencyMap[5]).PressableOpacity, obj);
return callback(View, obj);
};