decord/source/modules/chat/native/placeholder/getChatPlaceholderRowHeight.tsx

25 lines
937 B
TypeScript
Raw Normal View History

// Module ID: 12769
// Function ID: 12770
// Name: getChatPlaceholderRowHeight
// Dependencies: [576, 1178, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 12769 (getChatPlaceholderRowHeight)
import nativeDefault from "native" /* 576 */;
2026-08-24 06:08:38 +00:00
const PX_24 = nativeDefault.space.PX_24;
const tmp2 = fn(1178).AVATAR_SIZE_MAP[fn(undefined, 1178).AvatarSizes.NORMAL];
2026-07-23 10:11:24 +00:00
let closure_1 = tmp2;
const PX_16 = nativeDefault.space.PX_16;
const PX_12 = nativeDefault.space.PX_12;
const size = fn(2);
const result = size.fileFinishedImporting("modules/chat/native/placeholder/getChatPlaceholderRowHeight.tsx");
2026-07-20 16:05:17 +00:00
export default function getChatPlaceholderRowHeight(arg0) {
2026-07-23 10:11:24 +00:00
return PX_24 + Math.max(closure_1, PX_16 + arg0 * (PX_16 + PX_12));
2026-07-20 16:05:17 +00:00
};
export const CHAT_PLACEHOLDER_ROW_MARGIN_TOP = PX_24;
export const CHAT_PLACEHOLDER_ROW_AVATAR_HEIGHT = tmp2;
export const CHAT_PLACEHOLDER_ROW_LINE_HEIGHT = PX_16;
export const CHAT_PLACEHOLDER_ROW_LINE_MARGIN_TOP = PX_12;