decord/source/modules/expression_picker/native/useExpressionPickerInsets.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

25 lines
936 B
TypeScript

// Module ID: 10288
// Function ID: 10289
// Name: useExpressionPickerInsets
// Dependencies: [19, 1074, 1611, 6981, 576, 2]
// Exports: default
// Module 10288 (useExpressionPickerInsets)
import closure_2 from "noop" /* 19 */;
import { EXPRESSION_FOOTER_HEIGHT } from "ME" /* 1074 */;
const result = require("set").fileFinishedImporting("modules/expression_picker/native/useExpressionPickerInsets.tsx");
export default function useExpressionPickerInsets(hasCategories) {
let bottom;
bottom = bottom(1611)().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(6981)({ includeKeyboardHeight: true, includeCustomKeyboardHeight: false }).insets.bottom + num;
obj[1] = sum + bottom(576).space.PX_16;
return obj;
};