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

25 lines
998 B
TypeScript
Raw Normal View History

// Module ID: 6077
// Function ID: 6078
2026-07-20 16:05:17 +00:00
// Name: useCustomKeyboardHeight
// Dependencies: [1482, 1483, 2]
2026-07-20 16:05:17 +00:00
// Exports: default, getCustomKeyboardHeight
// Module 6077 (useCustomKeyboardHeight)
import AppEntryKeyContext from "AppEntryKeyContext" /* 1482 */;
import KeyboardUIStoreDefault from "KeyboardUIStore" /* 1483 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
const result = size.fileFinishedImporting("modules/keyboard/native/useCustomKeyboardHeight.tsx");
2026-07-20 16:05:17 +00:00
export default function useCustomKeyboardHeight() {
closure_0 = AppEntryKeyContext.useAppEntryKey();
return KeyboardUIStoreDefault((arg0) => arg0.byAppEntry[closure_0].customKeyboardHeight);
2026-07-20 16:05:17 +00:00
};
export const getCustomKeyboardHeight = function getCustomKeyboardHeight(appEntryKey) {
let DEFAULT_APP_ENTRY_KEY = appEntryKey;
if (appEntryKey === undefined) {
DEFAULT_APP_ENTRY_KEY = AppEntryKeyContext.DEFAULT_APP_ENTRY_KEY;
2026-07-20 16:05:17 +00:00
}
return KeyboardUIStoreDefault.getState().byAppEntry[DEFAULT_APP_ENTRY_KEY].customKeyboardHeight;
2026-07-20 16:05:17 +00:00
};