decord/source/modules/icymi/native/ReplyRow.tsx

53 lines
3.6 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 15479
// Function ID: 15480
2026-07-20 16:05:17 +00:00
// Name: ContentInventoryReplyRow
2026-08-05 07:35:12 +00:00
// Dependencies: [19, 17, 21, 15422, 712, 4797, 4251, 7548, 2]
2026-07-20 16:05:17 +00:00
// Exports: ContentInventoryReplyRow
2026-08-05 07:35:12 +00:00
// Module 15479 (ContentInventoryReplyRow)
2026-07-29 08:29:29 +00:00
import "noop";
2026-07-23 10:11:24 +00:00
import { View } from "get ActivityIndicator";
import jsxProd from "jsxProd";
import createICYMIStyles from "createICYMIStyles";
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
let c4;
let c5;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
({ 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 };
2026-07-20 16:05:17 +00:00
return obj;
});
2026-07-23 10:11:24 +00:00
const result = require("jsxProd").fileFinishedImporting("modules/icymi/native/ReplyRow.tsx");
2026-07-20 16:05:17 +00:00
export const ContentInventoryReplyRow = function ContentInventoryReplyRow(onPress) {
const reactText = onPress.reactText;
const tmp = callback3();
2026-07-29 08:29:29 +00:00
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 };
2026-08-05 07:35:12 +00:00
const items = [callback(require(4251) /* Text */.Text, { variant: "text-md/medium", color: "input-placeholder-text-default", lineClamp: 1, style: tmp.contentInventoryText, children: reactText }), callback(require(7548) /* ReactionIcon */.ReactionIcon, { style: tmp.icon, size: "custom" })];
2026-07-29 08:29:29 +00:00
obj[1] = items;
obj[5] = callback2(View, obj);
2026-08-05 07:35:12 +00:00
obj[1] = callback(require(4797) /* PressableBase */.PressableOpacity, obj);
2026-07-20 16:05:17 +00:00
return callback(View, obj);
};