decord/source/modules/keyboard/native/useCustomKeyboardHeight.tsx

25 lines
940 B
TypeScript
Raw Normal View History

2026-09-01 10:26:29 +00:00
// Module ID: 5597
// Function ID: 5598
2026-07-20 16:05:17 +00:00
// Name: useCustomKeyboardHeight
2026-08-31 15:47:37 +00:00
// Dependencies: [1496, 1497, 2]
2026-07-20 16:05:17 +00:00
// Exports: default, getCustomKeyboardHeight
2026-09-01 10:26:29 +00:00
// Module 5597 (useCustomKeyboardHeight)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-08-31 15:47:37 +00:00
import context from "context" /* 1496 */;
import computeEntryStateDefault from "computeEntryState" /* 1497 */;
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/keyboard/native/useCustomKeyboardHeight.tsx");
2026-07-20 16:05:17 +00:00
export default function useCustomKeyboardHeight() {
2026-08-31 15:47:37 +00:00
_require = _require(1496).useAppEntryKey();
2026-08-24 06:08:38 +00:00
return computeEntryStateDefault((arg0) => arg0.byAppEntry[closure_0].customKeyboardHeight);
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
export const getCustomKeyboardHeight = function getCustomKeyboardHeight(arg0) {
2026-07-20 16:05:17 +00:00
let DEFAULT_APP_ENTRY_KEY = arg0;
if (arg0 === undefined) {
2026-08-24 06:08:38 +00:00
DEFAULT_APP_ENTRY_KEY = context.DEFAULT_APP_ENTRY_KEY;
2026-07-20 16:05:17 +00:00
}
2026-08-24 06:08:38 +00:00
return computeEntryStateDefault.getState().byAppEntry[DEFAULT_APP_ENTRY_KEY].customKeyboardHeight;
2026-07-20 16:05:17 +00:00
};