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

25 lines
940 B
TypeScript
Raw Normal View History

// Module ID: 5534
// Function ID: 5535
2026-07-20 16:05:17 +00:00
// Name: useCustomKeyboardHeight
2026-09-02 09:53:35 +00:00
// Dependencies: [1495, 1496, 2]
2026-07-20 16:05:17 +00:00
// Exports: default, getCustomKeyboardHeight
// Module 5534 (useCustomKeyboardHeight)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-09-02 09:53:35 +00:00
import context from "context" /* 1495 */;
import computeEntryStateDefault from "computeEntryState" /* 1496 */;
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-09-02 09:53:35 +00:00
_require = _require(1495).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
};