decord/source/modules/chat/native/placeholder/getChatPlaceholderRowHeight.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

24 lines
937 B
TypeScript

// Module ID: 12783
// Function ID: 12784
// Name: getChatPlaceholderRowHeight
// Dependencies: [576, 1177, 2]
// Exports: default
// Module 12783 (getChatPlaceholderRowHeight)
import nativeDefault from "native" /* 576 */;
const PX_24 = nativeDefault.space.PX_24;
const tmp2 = fn(1177).AVATAR_SIZE_MAP[fn(undefined, 1177).AvatarSizes.NORMAL];
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");
export default function getChatPlaceholderRowHeight(arg0) {
return PX_24 + Math.max(closure_1, PX_16 + arg0 * (PX_16 + PX_12));
};
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;