decord/source/modules/icymi/native/ReplyRow.tsx
2026-08-13 07:00:46 +00:00

52 lines
3.6 KiB
TypeScript

// Module ID: 15706
// Function ID: 15707
// Name: ContentInventoryReplyRow
// Dependencies: [19, 17, 21, 15649, 712, 4887, 4338, 7700, 2]
// Exports: ContentInventoryReplyRow
// Module 15706 (ContentInventoryReplyRow)
import "noop";
import { View } from "get ActivityIndicator";
import jsxProd from "jsxProd";
import createICYMIStyles from "createICYMIStyles";
let c4;
let c5;
const require = arg1;
({ jsx: c4, jsxs: c5 } = jsxProd);
let closure_6 = createICYMIStyles.createICYMIStyles((marginLeft) => {
let obj = { separator: null, container: null, buttonContainer: null, feedbackContainer: null, icon: null, feedbackButtonIcon: null, input: null, contentInventoryPressable: null, contentInventoryContainer: null, contentInventoryText: null, replyContainer: null };
obj = { height: 1, backgroundColor: importDefault(712).colors.BORDER_SUBTLE, marginBottom: marginLeft.margin, width: "100%" };
obj[0] = obj;
obj = { flex: 1, alignItems: "center", justifyContent: "center", flexDirection: "row", marginHorizontal: marginLeft.margin, marginBottom: marginLeft.margin, gap: importDefault(712).space.PX_12 };
obj[1] = obj;
obj[2] = { flexGrow: 1, flexBasis: 0, height: importDefault(712).space.PX_40 };
const obj1 = { flexGrow: 1, flexBasis: 0, height: importDefault(712).space.PX_40 };
obj[3] = { flexDirection: "row", alignItems: "center", justifyContent: "space-between", gap: importDefault(712).space.PX_12, height: importDefault(712).space.PX_40 };
obj[4] = { width: 20, height: 20 };
const obj2 = { flexDirection: "row", alignItems: "center", justifyContent: "space-between", gap: importDefault(712).space.PX_12, height: importDefault(712).space.PX_40 };
obj[5] = { tintColor: importDefault(712).colors.BUTTON_OUTLINE_PRIMARY_TEXT };
const obj3 = { tintColor: importDefault(712).colors.BUTTON_OUTLINE_PRIMARY_TEXT };
obj[6] = { flex: 1, borderRadius: importDefault(712).radii.round };
const obj4 = { flex: 1, borderRadius: importDefault(712).radii.round };
obj[7] = { borderRadius: 20, width: "100%", minHeight: 40, backgroundColor: importDefault(712).colors.REDESIGN_CHAT_INPUT_BACKGROUND, justifyContent: "center" };
const obj5 = { borderRadius: 20, width: "100%", minHeight: 40, backgroundColor: importDefault(712).colors.REDESIGN_CHAT_INPUT_BACKGROUND, justifyContent: "center" };
obj[8] = { marginLeft: marginLeft.margin, marginRight: 10, paddingVertical: importDefault(712).space.PX_8, flexDirection: "row", alignItems: "center", gap: importDefault(712).space.PX_4 };
obj[9] = { flexShrink: 1 };
obj[10] = { flexDirection: "row", alignItems: "center", marginLeft: marginLeft.inset, marginTop: marginLeft.margin };
return obj;
});
const result = require("jsxProd").fileFinishedImporting("modules/icymi/native/ReplyRow.tsx");
export const ContentInventoryReplyRow = function ContentInventoryReplyRow(onPress) {
const reactText = onPress.reactText;
const tmp = callback3();
let obj = { style: tmp.replyContainer, children: null };
obj = { accessibilityRole: "button", onPress: onPress.onReply, style: tmp.contentInventoryPressable, accessibilityLabel: reactText, pointerEvents: "box-only", children: null };
obj = { style: tmp.contentInventoryContainer, children: null };
const items = [callback(require(4338) /* Text */.Text, { variant: "text-md/medium", color: "input-placeholder-text-default", lineClamp: 1, style: tmp.contentInventoryText, children: reactText }), callback(require(7700) /* ReactionIcon */.ReactionIcon, { style: tmp.icon, size: "custom" })];
obj[1] = items;
obj[5] = callback2(View, obj);
obj[1] = callback(require(4887) /* PressableBase */.PressableOpacity, obj);
return callback(View, obj);
};