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

25 lines
940 B
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 5478
// Function ID: 5479
2026-07-20 16:05:17 +00:00
// Name: useCustomKeyboardHeight
2026-08-15 05:55:55 +00:00
// Dependencies: [1497, 1498, 2]
2026-07-20 16:05:17 +00:00
// Exports: default, getCustomKeyboardHeight
2026-08-25 06:04:03 +00:00
// Module 5478 (useCustomKeyboardHeight)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import context from "context" /* 1497 */;
import computeEntryStateDefault from "computeEntryState" /* 1498 */;
const result = set.fileFinishedImporting("modules/keyboard/native/useCustomKeyboardHeight.tsx");
2026-07-20 16:05:17 +00:00
export default function useCustomKeyboardHeight() {
2026-08-15 05:55:55 +00:00
_require = _require(1497).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
};