decord/source/modules/keyboard/native/useCustomKeyboardHeight.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

24 lines
940 B
TypeScript

// Module ID: 5579
// Function ID: 5580
// Name: useCustomKeyboardHeight
// Dependencies: [1480, 1481, 2]
// Exports: default, getCustomKeyboardHeight
// Module 5579 (useCustomKeyboardHeight)
import set from "set" /* 2 */;
import context from "context" /* 1480 */;
import computeEntryStateDefault from "computeEntryState" /* 1481 */;
const result = set.fileFinishedImporting("modules/keyboard/native/useCustomKeyboardHeight.tsx");
export default function useCustomKeyboardHeight() {
_require = _require(1480).useAppEntryKey();
return computeEntryStateDefault((arg0) => arg0.byAppEntry[closure_0].customKeyboardHeight);
};
export const getCustomKeyboardHeight = function getCustomKeyboardHeight(arg0) {
let DEFAULT_APP_ENTRY_KEY = arg0;
if (arg0 === undefined) {
DEFAULT_APP_ENTRY_KEY = context.DEFAULT_APP_ENTRY_KEY;
}
return computeEntryStateDefault.getState().byAppEntry[DEFAULT_APP_ENTRY_KEY].customKeyboardHeight;
};