decord/beta/source/modules/keyboard/native/useCustomKeyboardHeight.tsx
github-actions 19e52f659f chore: update source for beta 347.11
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
2026-09-26 17:57:22 +00:00

24 lines
998 B
TypeScript

// Module ID: 5828
// Function ID: 5829
// Name: useCustomKeyboardHeight
// Dependencies: [1481, 1482, 2]
// Exports: default, getCustomKeyboardHeight
// Module 5828 (useCustomKeyboardHeight)
import AppEntryKeyContext from "AppEntryKeyContext" /* 1481 */;
import KeyboardUIStoreDefault from "KeyboardUIStore" /* 1482 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/keyboard/native/useCustomKeyboardHeight.tsx");
export default function useCustomKeyboardHeight() {
closure_0 = AppEntryKeyContext.useAppEntryKey();
return KeyboardUIStoreDefault((arg0) => arg0.byAppEntry[closure_0].customKeyboardHeight);
};
export const getCustomKeyboardHeight = function getCustomKeyboardHeight(appEntryKey) {
let DEFAULT_APP_ENTRY_KEY = appEntryKey;
if (appEntryKey === undefined) {
DEFAULT_APP_ENTRY_KEY = AppEntryKeyContext.DEFAULT_APP_ENTRY_KEY;
}
return KeyboardUIStoreDefault.getState().byAppEntry[DEFAULT_APP_ENTRY_KEY].customKeyboardHeight;
};