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

24 lines
890 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 11860
// Function ID: 11861
2026-07-20 16:05:17 +00:00
// Name: PX_24
2026-07-29 08:29:29 +00:00
// Dependencies: [712, 1297, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 11860 (PX_24)
import ThemesDefault from "Themes" /* 712 */;
const PX_24 = ThemesDefault.space.PX_24;
2026-07-23 10:11:24 +00:00
const tmp2 = require("Button").AVATAR_SIZE_MAP[require("Button").AvatarSizes.NORMAL];
let closure_1 = tmp2;
2026-08-24 06:08:38 +00:00
const PX_16 = ThemesDefault.space.PX_16;
const PX_12 = ThemesDefault.space.PX_12;
2026-07-23 10:11:24 +00:00
const result = require("set").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;