decord/source/modules/expression_picker/native/useExpressionPickerInsets.tsx
2026-09-03 10:05:34 +00:00

25 lines
934 B
TypeScript

// Module ID: 10380
// Function ID: 10381
// Name: useExpressionPickerInsets
// Dependencies: [19, 673, 1627, 5603, 709, 2]
// Exports: default
// Module 10380 (useExpressionPickerInsets)
import closure_2 from "noop" /* 19 */;
import { EXPRESSION_FOOTER_HEIGHT } from "ME" /* 673 */;
const result = require("set").fileFinishedImporting("modules/expression_picker/native/useExpressionPickerInsets.tsx");
export default function useExpressionPickerInsets(hasCategories) {
let bottom;
bottom = bottom(1627)().bottom;
const obj = { safeAreaStyle: React.useMemo(() => ({ paddingBottom: bottom }), items), safeAreaBottomKeyboardAware: null };
items = [bottom];
let num = 0;
if (hasCategories.hasCategories) {
num = EXPRESSION_FOOTER_HEIGHT;
}
const sum = bottom(5603)({ includeKeyboardHeight: true, includeCustomKeyboardHeight: false }).insets.bottom + num;
obj[1] = sum + bottom(709).space.PX_16;
return obj;
};